svn commit: samba r11644 - in branches/SAMBA_4_0/source/libcli/raw:
.
metze at samba.org
metze at samba.org
Thu Nov 10 14:16:50 GMT 2005
Author: metze
Date: 2005-11-10 14:16:50 +0000 (Thu, 10 Nov 2005)
New Revision: 11644
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11644
Log:
free the buffer when it's not used
metze
Modified:
branches/SAMBA_4_0/source/libcli/raw/clitransport.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/raw/clitransport.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/raw/clitransport.c 2005-11-10 14:03:07 UTC (rev 11643)
+++ branches/SAMBA_4_0/source/libcli/raw/clitransport.c 2005-11-10 14:16:50 UTC (rev 11644)
@@ -479,6 +479,8 @@
if (req) {
DLIST_REMOVE(transport->pending_recv, req);
req->state = SMBCLI_REQUEST_ERROR;
+ } else {
+ talloc_free(buffer);
}
return NT_STATUS_OK;
}
More information about the samba-cvs
mailing list