From 9941e730ca239290ffee2b8ab105552a0ff1b002 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 7 Feb 2009 18:46:30 +0100 Subject: Fix memleaks in chain_reply for async requests --- source3/smbd/process.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index c9fc1fbb6a..8539e04bd5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1623,6 +1623,7 @@ void chain_reply(struct smb_request *req) exit_server_cleanly("chain_reply: srv_send_smb " "failed."); } + TALLOC_FREE(req); return; } @@ -1737,6 +1738,7 @@ void chain_reply(struct smb_request *req) IS_CONN_ENCRYPTED(req->conn)||req->encrypted)) { exit_server_cleanly("construct_reply: srv_send_smb failed."); } + TALLOC_FREE(req); } /**************************************************************************** -- cgit