mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
[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>
This commit is contained in:
parent
e2c1649951
commit
223230e789
@ -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);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user