summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-08 10:29:44 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-09 13:57:31 +0200
commit3dbfb2511186200a65efd407c0093e19a9e456ff (patch)
tree0f4234f8bf35c08770ffd2de527dcd2a9567b8e6 /source3/smbd
parentfc96488c64ccf3a3ce946f26dc851d374830c251 (diff)
downloadsamba-3dbfb2511186200a65efd407c0093e19a9e456ff.tar.gz
samba-3dbfb2511186200a65efd407c0093e19a9e456ff.tar.bz2
samba-3dbfb2511186200a65efd407c0093e19a9e456ff.zip
s3:smb2_close: add missing TALLOC_FREE(subreq) in smbd_smb2_request_close_done()
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Jun 9 13:57:31 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_close.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_close.c b/source3/smbd/smb2_close.c
index 9a08c6f10f..3df408eadc 100644
--- a/source3/smbd/smb2_close.c
+++ b/source3/smbd/smb2_close.c
@@ -106,6 +106,7 @@ static void smbd_smb2_request_close_done(struct tevent_req *subreq)
&out_allocation_size,
&out_end_of_file,
&out_file_attributes);
+ TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
error = smbd_smb2_request_error(req, status);
if (!NT_STATUS_IS_OK(error)) {