summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lidel <Markus.Lidel@shadowconnect.com>2005-06-13 22:58:00 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-14 07:19:35 -0700
commit223230e78900e5f0be984f7697cb9bf172d71a35 (patch)
treedc3a3232d24db3ad0fbf66db2ca0b1359d15c2b4
parente2c16499515aa044676a14b97a1b8a35f879152a (diff)
downloadop-kernel-dev-223230e78900e5f0be984f7697cb9bf172d71a35.zip
op-kernel-dev-223230e78900e5f0be984f7697cb9bf172d71a35.tar.gz
[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 <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/message/i2o/i2o_block.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index 7b74c87..4830b77 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);
};
/*
OpenPOWER on IntegriCloud