From: Markus Lidel Date: Tue, 14 Jun 2005 05:58:00 +0000 (-0700) Subject: [PATCH] i2o: Fix free of event memory in i2o_block_event() X-Git-Tag: v2.6.12~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=223230e78900e5f0be984f7697cb9bf172d71a35;p=linux-2.6-omap-h63xx.git [PATCH] i2o: Fix free of event memory in i2o_block_event() Fixed freeing of event memory in i2o_block_event() Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 7b74c87b569..4830b775906 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c @@ -573,6 +573,7 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m, static void i2o_block_event(struct i2o_event *evt) { osm_info("block-osm: event received\n"); + kfree(evt); }; /*