summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-01 14:06:56 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-01 15:15:37 +1000
commit08ed6a2281121a4acca29d4f40d6959449ec9eab (patch)
tree0df4becb6ff7a121f57f337a0b27aa765be8f5aa /source4
parent269b16212a65c9506147db381ecdcbdd58347af6 (diff)
downloadsamba-08ed6a2281121a4acca29d4f40d6959449ec9eab.tar.gz
samba-08ed6a2281121a4acca29d4f40d6959449ec9eab.tar.bz2
samba-08ed6a2281121a4acca29d4f40d6959449ec9eab.zip
another case that should use py_talloc_reference
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/pyauth.c2
1 files changed, 1 insertions, 1 deletions
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)