1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

s3: Use talloc_tos() in yield_connection()

This commit is contained in:
Volker Lendecke
2010-02-26 17:53:34 +01:00
parent 5c40aa59d7
commit 2238260aa3

View File

@ -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;
}