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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user