From 08ed6a2281121a4acca29d4f40d6959449ec9eab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 1 Jul 2009 14:06:56 +1000 Subject: another case that should use py_talloc_reference --- source4/auth/pyauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth') diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index e97174fcc3..04880b71c9 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) -- cgit