diff options
Diffstat (limited to 'source3/smbd/pipes.c')
-rw-r--r-- | source3/smbd/pipes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index c21b635bfb..c3a5cb3c03 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -367,7 +367,7 @@ static void pipe_write_andx_done(struct tevent_req *subreq) * We must free here as the ownership of req was * moved to the connection struct in reply_pipe_write_and_X(). */ - TALLOC_FREE(req); + smb_request_done(req); } /**************************************************************************** @@ -493,5 +493,5 @@ static void pipe_read_andx_done(struct tevent_req *subreq) * We must free here as the ownership of req was * moved to the connection struct in reply_pipe_read_and_X(). */ - TALLOC_FREE(req); + smb_request_done(req); } |