diff options
author | 2009-07-19 14:46:09 +0300 | |
---|---|---|
committer | 2009-07-30 16:03:43 +0930 | |
commit | f294526279cda8934b0313ebd02184a16ba888c9 (patch) | |
tree | a89b108800b8f8cdcf6a6eae4f69bb10df3ac79c /drivers/base/platform.c | |
parent | Merge branch 'i2c-fixes-rc4' of git://aeryn.fluff.org.uk/bjdooks/linux (diff) | |
download | wireguard-linux-f294526279cda8934b0313ebd02184a16ba888c9.tar.xz wireguard-linux-f294526279cda8934b0313ebd02184a16ba888c9.zip |
lguest: dereferencing freed mem in add_eventfd()
"new" was freed and then dereferenced. Also the return value wasn't being
used so I modified the caller as well.
Compile tested only. Found by smatch (http://repo.or.cz/w/smatch.git).
regards,
dan carpenter
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions