summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/smb/trans2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/smb_server/smb/trans2.c b/source4/smb_server/smb/trans2.c
index c9a357523b..44db66e6c4 100644
--- a/source4/smb_server/smb/trans2.c
+++ b/source4/smb_server/smb/trans2.c
@@ -1731,9 +1731,8 @@ static void reply_transs_generic(struct smbsrv_request *req, uint8_t command)
if (trans->in.params.length == param_total &&
trans->in.data.length == data_total) {
/* its now complete */
- reply_trans_complete(tp->req, command, trans);
DLIST_REMOVE(tp->req->smb_conn->trans_partial, tp);
- talloc_free(tp);
+ reply_trans_complete(tp->req, command, trans);
}
return;