]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/message/i2o/i2o_block.c
[PATCH] i2o: Fix free of event memory in i2o_block_event()
[linux-2.6.git] / drivers / message / i2o / i2o_block.c
index 7b74c87b569e77869cbbe72a8c574c1a258059f7..4830b775906104d718b882c720a3ea1d306b96f3 100644 (file)
@@ -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);
 };
 
 /*