summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {