summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-07-19 11:46:09 (GMT)
committerRusty Russell <rusty@rustcorp.com.au>2009-07-30 06:33:43 (GMT)
commitf294526279cda8934b0313ebd02184a16ba888c9 (patch)
treea89b108800b8f8cdcf6a6eae4f69bb10df3ac79c /mm
parent658874f05d040ca96eb5ba9b1c30ce0ff287d762 (diff)
downloadlinux-fsl-qoriq-f294526279cda8934b0313ebd02184a16ba888c9.tar.xz
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 'mm')
0 files changed, 0 insertions, 0 deletions