summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-01 14:05:53 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-01 15:15:37 +1000
commit12510329217dd2b8027794b63258a34797a0f940 (patch)
treed59cdcb5c94448b8d913af5935afd65e5704e1d7 /source4/librpc/ndr
parent956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4 (diff)
downloadsamba-12510329217dd2b8027794b63258a34797a0f940.tar.gz
samba-12510329217dd2b8027794b63258a34797a0f940.tar.bz2
samba-12510329217dd2b8027794b63258a34797a0f940.zip
py_talloc_import now uses a steal, so this free is incorrect
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/py_security.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/librpc/ndr/py_security.c b/source4/librpc/ndr/py_security.c
index 1b54aab02a..7ac4d34baf 100644
--- a/source4/librpc/ndr/py_security.c
+++ b/source4/librpc/ndr/py_security.c
@@ -379,7 +379,6 @@ static PyObject *py_random_sid(PyObject *self)
sid = dom_sid_parse_talloc(NULL, str);
talloc_free(str);
ret = py_talloc_import(&dom_sid_Type, sid);
- talloc_free(sid);
return ret;
}