From: Andrew Tridgell Date: Wed, 1 Jul 2009 04:06:56 +0000 (+1000) Subject: another case that should use py_talloc_reference X-Git-Tag: talloc-2.0.0~842 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ed6a2281121a4acca29d4f40d6959449ec9eab;p=thirdparty%2Fsamba.git another case that should use py_talloc_reference --- diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index e97174fcc3a..04880b71c93 100644 --- a/source4/auth/pyauth.c +++ b/source4/auth/pyauth.c @@ -32,7 +32,7 @@ PyTypeObject PyAuthSession = { PyObject *PyAuthSession_FromSession(struct auth_session_info *session) { - return py_talloc_import(&PyAuthSession, session); + return py_talloc_reference(&PyAuthSession, session); } static PyObject *py_system_session(PyObject *module, PyObject *args)