summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-09-17 15:17:50 +0200
committerKarolin Seeger <kseeger@samba.org>2014-09-27 20:58:13 +0200
commit5cf0aa0601fca88b8de23053ce38e6194ded3caa (patch)
tree6a604655c374a25b58609403362c18c4bed6c64c /libcli
parent52b876a4e23b26fc1eaa120f462f3d642b5e7ff2 (diff)
downloadsamba-5cf0aa0601fca88b8de23053ce38e6194ded3caa.tar.gz
libcli: Fix a segfault calling smbXcli_req_set_pending() on NULL.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10817 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 23 04:23:05 CEST 2014 on sn-devel-104 (cherry picked from commit f92086f4a347dcc8fa948aa2614a2c12f1115e5a) Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb1cli_echo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcli/smb/smb1cli_echo.c b/libcli/smb/smb1cli_echo.c
index 4fb7c60473..10dff2d8c9 100644
--- a/libcli/smb/smb1cli_echo.c
+++ b/libcli/smb/smb1cli_echo.c
@@ -96,7 +96,6 @@ static void smb1cli_echo_done(struct tevent_req *subreq)
NULL, /* pbytes_offset */
NULL, /* pinbuf */
expected, ARRAY_SIZE(expected));
- TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);
return;