summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-21 16:44:12 +1300
committerJelmer Vernooij <jelmer@samba.org>2010-01-21 16:44:12 +1300
commit253a232d300ac6a508983bbbb6eb6d0235d48722 (patch)
treeb41ed757b251f682c220bc38298f1cecec27a524 /source4/librpc
parent9a253808383e1a2777c3c05a25be88ed25c51a13 (diff)
downloadsamba-253a232d300ac6a508983bbbb6eb6d0235d48722.tar.gz
samba-253a232d300ac6a508983bbbb6eb6d0235d48722.tar.bz2
samba-253a232d300ac6a508983bbbb6eb6d0235d48722.zip
pyxattr: Fix memory leaks.
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/ndr/py_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/py_xattr.c b/source4/librpc/ndr/py_xattr.c
index 9cf87e24a9..19c5f26672 100644
--- a/source4/librpc/ndr/py_xattr.c
+++ b/source4/librpc/ndr/py_xattr.c
@@ -78,7 +78,7 @@ static PyObject *py_ntacl_print(PyObject *self, PyObject *args)
pr->print = ntacl_print_debug_helper;
ndr_print_xattr_NTACL(pr, "file", ntacl);
- talloc_free(pr);
+ talloc_free(mem_ctx);
Py_RETURN_NONE;
}