diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-01-21 16:44:12 +1300 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-01-21 16:44:12 +1300 |
commit | 253a232d300ac6a508983bbbb6eb6d0235d48722 (patch) | |
tree | b41ed757b251f682c220bc38298f1cecec27a524 /source4/librpc/ndr | |
parent | 9a253808383e1a2777c3c05a25be88ed25c51a13 (diff) | |
download | samba-253a232d300ac6a508983bbbb6eb6d0235d48722.tar.gz samba-253a232d300ac6a508983bbbb6eb6d0235d48722.tar.bz2 samba-253a232d300ac6a508983bbbb6eb6d0235d48722.zip |
pyxattr: Fix memory leaks.
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r-- | source4/librpc/ndr/py_xattr.c | 2 |
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; } |