r15796: this talloc_reference() was causing a memory leak on every NTVFS
authorAndrew Tridgell <tridge@samba.org>
Mon, 22 May 2006 06:17:10 +0000 (06:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:21 +0000 (14:08 -0500)
commit2e105a32c78384b16a0e6a6dc8ff504593afef2e
tree1c73106abd0b2a3daa0d9e13435b0a36ebad606e
parent8b2a563e716a789ea77cbfbf2f372724de5361ce
r15796: this talloc_reference() was causing a memory leak on every NTVFS
request. The problem is that the talloc_free() in
smbsrv_send_reply_nosign() frees this reference, but doesn't free the
memory iself, thus leaving it attached to the connection context.

Metze, what was the idea behind this reference? If we need it, then we
need a corresponding talloc_free() to go with it.
source/smb_server/smb_server.h