git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c40aa5
)
s3: Use talloc_tos() in yield_connection()
author
Volker Lendecke
<vl@samba.org>
Fri, 26 Feb 2010 16:53:34 +0000
(17:53 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 28 Feb 2010 19:45:21 +0000
(20:45 +0100)
source3/smbd/connection.c
patch
|
blob
|
history
diff --git
a/source3/smbd/connection.c
b/source3/smbd/connection.c
index 34903bbc27485d96985932cbb8fad0ee33aac954..a54dc8d79790177bb4a54d237c88b0fb31e86ae4 100644
(file)
--- 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;
}