]> err.no Git - linux-2.6/commit
lguest: fix switcher_page leak on unload
authorJohannes Weiner <hannes@saeurebad.de>
Tue, 8 Jul 2008 08:29:42 +0000 (10:29 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:32 +0000 (09:58 +1000)
commit0a707210aa1b8ac40fe781b2a9d0b203b6ebb921
tree66926aa4868bff6b78b13f3bdeb2a9e9a57bd20d
parent0c12091d82e48dc423fb1f51eb0062c557a084af
lguest: fix switcher_page leak on unload

map_switcher allocates the array, unmap_switcher has to free it
accordingly.

Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/core.c