git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca701cf
)
Fix memleaks in chain_reply for async requests
author
Volker Lendecke
<vl@samba.org>
Sat, 7 Feb 2009 17:46:30 +0000
(18:46 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sat, 7 Feb 2009 18:25:34 +0000
(19:25 +0100)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index c9fc1fbb6a53c3b5b76a1da33c93456240a237ce..8539e04bd50c892a4df7a4d8ce6cf6f7a9fc6758 100644
(file)
--- 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);
}
/****************************************************************************