diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-26 17:53:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-28 20:45:21 +0100 |
commit | 2238260aa3f85cdb0057dae437f454c8c54d08f7 (patch) | |
tree | ab826b149e5c21ccd2517a432a0d2abbcab1e61e /source3/smbd | |
parent | 5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882 (diff) | |
download | samba-2238260aa3f85cdb0057dae437f454c8c54d08f7.tar.gz samba-2238260aa3f85cdb0057dae437f454c8c54d08f7.tar.bz2 samba-2238260aa3f85cdb0057dae437f454c8c54d08f7.zip |
s3: Use talloc_tos() in yield_connection()
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 34903bbc27..a54dc8d797 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -30,7 +30,8 @@ bool yield_connection(connection_struct *conn, const char *name) DEBUG(3,("Yielding connection to %s\n",name)); - if (!(rec = connections_fetch_entry(NULL, conn, name))) { + rec = connections_fetch_entry(talloc_tos(), conn, name); + if (rec == NULL) { DEBUG(0, ("connections_fetch_entry failed\n")); return False; } |