[PATCH] smbfs: 'names_cache' memory leak
authorDavi Arnaut <davi.arnaut@gmail.com>
Mon, 7 Nov 2005 08:59:37 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:39 +0000 (07:53 -0800)
commit53b27584db0446e356c86b3aa43f5107b0170704
tree82b67a2ac88716cca4eb638f5475e875d6feb1ec
parentce44eeb6906cf2b093b76ea69b952621712a4a3c
[PATCH] smbfs: 'names_cache' memory leak

Data allocated with "__getname()" should always be free'd with "__putname()"
because of the AUDITSYSCALL code.

Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: Urban Widmark <urban@teststation.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/smbfs/symlink.c