r15799: fixed the problem with BASE-DISCONNECT after the recent memory leak
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 May 2006 09:05:20 +0000 (09:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:22 +0000 (14:08 -0500)
was fixed

source/smb_server/smb_server.h

index de5774a930c883ea1b0a6811cb4611f61407685e..a5c2b73dc76d5418db5f37adc5f5aec8d372a00a 100644 (file)
@@ -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)