i2o message leak in i2o_msg_post_wait_mem()
authorVasily Averin <vvs@sw.ru>
Tue, 17 Jul 2007 11:04:26 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:06 +0000 (10:23 -0700)
commit3d0fd333a1c2659fb0495894090d1146b239fd9a
treee282a0181c660ede2407b0e4d0dfc1b1d306e0ae
parent010904cbed3db3464213fbc602802cc6f53e56e1
i2o message leak in i2o_msg_post_wait_mem()

We need to free i2o msg in case of error.

Signed-off-by: Vasily Averin <vvs@sw.ru>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Acked-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/message/i2o/exec-osm.c