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-Url: https://git.stricted.de/?a=commitdiff_plain;h=223230e78900e5f0be984f7697cb9bf172d71a35;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 7b74c87b569e..4830b7759061 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); }; /*