From 12510329217dd2b8027794b63258a34797a0f940 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 1 Jul 2009 14:05:53 +1000 Subject: py_talloc_import now uses a steal, so this free is incorrect --- source4/librpc/ndr/py_security.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/librpc') 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; } -- cgit