[PATCH 1/2] s4-libcli: Fixed a talloc_reference error.

Andreas Schneider asn at redhat.com
Tue Jan 26 06:57:15 MST 2010


Signed-off-by: Andreas Schneider <asn at redhat.com>
---
 source4/libcli/raw/rawnotify.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/source4/libcli/raw/rawnotify.c b/source4/libcli/raw/rawnotify.c
index 28ab3eb..b277a2c 100644
--- a/source4/libcli/raw/rawnotify.c
+++ b/source4/libcli/raw/rawnotify.c
@@ -159,6 +159,7 @@ NTSTATUS smb_raw_ntcancel(struct smbcli_request *oldreq)
 		talloc_free(req);
 		return NT_STATUS_NO_MEMORY;
 	}
+	req->do_not_free = true;
 
 	smbcli_request_send(req);
 
-- 
1.6.5.7


------=_Part_11275_1793877434.1264516613006--


More information about the samba-technical mailing list