svn commit: samba r22399 - in
branches/SAMBA_4_0/source/ntvfs/posix: .
metze at samba.org
metze at samba.org
Fri Apr 20 06:57:07 GMT 2007
Author: metze
Date: 2007-04-20 06:57:07 +0000 (Fri, 20 Apr 2007)
New Revision: 22399
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22399
Log:
fix major memory leak
metze
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c 2007-04-20 06:09:37 UTC (rev 22398)
+++ branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c 2007-04-20 06:57:07 UTC (rev 22399)
@@ -229,5 +229,7 @@
delete_xattr_tdb(pvfs, s, fname, -1);
}
- return delete_xattr_tdb(pvfs, XATTR_LIST_ATTR, fname, -1);
+ status = delete_xattr_tdb(pvfs, XATTR_LIST_ATTR, fname, -1);
+ talloc_free(mem_ctx);
+ return status;
}
More information about the samba-cvs
mailing list