diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-12-06 00:12:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:06 -0500 |
commit | 67d0bb8dc72acc167122e397d5a265c85cea7d3e (patch) | |
tree | caf271aa6b5ddfbdb45242526af0e371455c3a9f /source4 | |
parent | 4a397070b6259cc97ccf7ce18f5a22dfff8e7d41 (diff) | |
download | samba-67d0bb8dc72acc167122e397d5a265c85cea7d3e.tar.gz samba-67d0bb8dc72acc167122e397d5a265c85cea7d3e.tar.bz2 samba-67d0bb8dc72acc167122e397d5a265c85cea7d3e.zip |
r12082: fixed a valgrind error found by kukks in the transs server handling
(This used to be commit 5c81986bff06efeacf95d3d64254d566181c30bb)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smb_server/smb/trans2.c | 3 |
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; |