git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ed2cc
)
r22399: fix major memory leak
author
Stefan Metzmacher
<metze@samba.org>
Fri, 20 Apr 2007 06:57:07 +0000
(06:57 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:14 +0000
(14:51 -0500)
metze
(This used to be commit
cc71fa34961e7ab73eebc284194bf03e9b17525a
)
source4/ntvfs/posix/xattr_tdb.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/xattr_tdb.c
b/source4/ntvfs/posix/xattr_tdb.c
index cea50bb4faaa1c253441a766d78378b87d106e74..1e0b100ba8ea7828be50659a4d844e6e6b33e79c 100644
(file)
--- a/
source4/ntvfs/posix/xattr_tdb.c
+++ b/
source4/ntvfs/posix/xattr_tdb.c
@@
-229,5
+229,7
@@
NTSTATUS unlink_xattr_tdb(struct pvfs_state *pvfs, const char *fname)
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;
}