X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fxattr.c;h=f91e3c1d57a922ef57dc15b23d48900a6fb64949;hb=a54da92f62fb81f8c9e6c86ad0d33f51b259ab0a;hp=67583de8218cf54213379f586926824f30da5350;hpb=25498e5b3df931a3d52a6e0642ae242e4ee19488;p=pandora-kernel.git diff --git a/fs/xattr.c b/fs/xattr.c index 67583de8218c..f91e3c1d57a9 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -161,7 +161,7 @@ xattr_getsecurity(struct inode *inode, const char *name, void *value, } memcpy(value, buffer, len); out: - security_release_secctx(buffer, len); + kfree(buffer); out_noalloc: return len; }