nfsd: Fix memory leak in nfsd_getxattr
authorKrishna Kumar <krkumar2@in.ibm.com>
Wed, 22 Oct 2008 09:18:36 +0000 (14:48 +0530)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 22 Oct 2008 18:00:45 +0000 (14:00 -0400)
commit6c6a426fdcb374b7641d7cf9eea88410828b9d9a
tree4792b7c2343c5b9acd07e5ceb40d7cdeee49ebb8
parent1cd9cd161c89f569b90583b7797bd972c3bf0cff
nfsd: Fix memory leak in nfsd_getxattr

Fix a memory leak in nfsd_getxattr. nfsd_getxattr should free up memory
that it allocated if vfs_getxattr fails.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/vfs.c