aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorDhaval Giani <[email protected]>2009-03-10 19:55:56 +0000
committerLinus Torvalds <[email protected]>2009-03-10 22:55:11 +0000
commitbe50b8342dead8cacf57d4839240106b225d31f5 (patch)
treea5f40b583e4c008313b090426fa785d178348e76 /lib/bitmap.c
parentmtd: physmap: fix NULL pointer dereference in error path (diff)
downloadkernel-be50b8342dead8cacf57d4839240106b225d31f5.tar.gz
kernel-be50b8342dead8cacf57d4839240106b225d31f5.zip
kernel/user.c: fix a memory leak when freeing up non-init usernamespaces users
We were returning early in the sysfs directory cleanup function if the user belonged to a non init usernamespace. Due to this a lot of the cleanup was not done and we were left with a leak. Fix the leak. Reported-by: Serge Hallyn <[email protected]> Signed-off-by: Dhaval Giani <[email protected]> Acked-by: Serge Hallyn <[email protected]> Tested-by: Serge Hallyn <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions