summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-05-22 09:05:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:22 -0500
commitf6c9fbbc50ae700a154c9bab7f0942af0141e8ed (patch)
treec7a97024656477e8087060bc37faebd99a2aac0c /source4
parentfd51a5c5bd4c22cb43ff30b3250f5ae9ce5ae3c7 (diff)
downloadsamba-f6c9fbbc50ae700a154c9bab7f0942af0141e8ed.tar.gz
samba-f6c9fbbc50ae700a154c9bab7f0942af0141e8ed.tar.bz2
samba-f6c9fbbc50ae700a154c9bab7f0942af0141e8ed.zip
r15799: fixed the problem with BASE-DISCONNECT after the recent memory leak
was fixed (This used to be commit 09a9c7fdff8f3cc8d2a98228cede4f8af41a08eb)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/smb_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h
index de5774a930..a5c2b73dc7 100644
--- a/source4/smb_server/smb_server.h
+++ b/source4/smb_server/smb_server.h
@@ -421,6 +421,7 @@ struct smbsrv_connection {
smbsrv_send_error(req, NT_STATUS_NO_MEMORY); \
return; \
} \
+ talloc_steal(req->tcon->ntvfs, req); \
req->ntvfs->frontend_data.private_data = req; \
} while (0)