git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a1f73
)
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
source/ntvfs/posix/xattr_tdb.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/xattr_tdb.c
b/source/ntvfs/posix/xattr_tdb.c
index cea50bb4faaa1c253441a766d78378b87d106e74..1e0b100ba8ea7828be50659a4d844e6e6b33e79c 100644
(file)
--- a/
source/ntvfs/posix/xattr_tdb.c
+++ b/
source/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;
}