]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: Fix a memory leak with the lg object during launcher close
authorMark Wallis <mwallis@serialmonkey.com>
Mon, 26 Jan 2009 06:32:35 +0000 (17:32 +1100)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 30 Jan 2009 01:04:11 +0000 (11:34 +1030)
commit6fc898117424c03d4ca3f32842f472938c9d851c
tree63d4cbf36a1fdf11e77008bd169d02446469cc8b
parent325601560951ae0ccf76d95d04f0377fa2e281d6
lguest: Fix a memory leak with the lg object during launcher close

Fix a memory leak identified by Rusty Russell during LCA09 by
kfree'ing the lg object instead of just clearing it when the
launcher closes.

Signed-off-by: Mark Wallis <mwallis@serialmonkey.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest_user.c