]> git.baikalelectronics.ru Git - kernel.git/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)
commit0fc4eed2d746e1b65c54b872a523d1677ab29816
tree66926aa4868bff6b78b13f3bdeb2a9e9a57bd20d
parent95b3fb1850c896a0a812ce208ed38c8e393f8477
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