svn commit: samba r13889 - in branches/SAMBA_3_0/source/libsmb: .
jra at samba.org
jra at samba.org
Mon Mar 6 19:48:01 GMT 2006
Author: jra
Date: 2006-03-06 19:48:00 +0000 (Mon, 06 Mar 2006)
New Revision: 13889
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13889
Log:
Fix resource leak on error path. Coverity bug CID #73.
Jeremy.
Modified:
branches/SAMBA_3_0/source/libsmb/namequery.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/namequery.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/namequery.c 2006-03-06 19:34:31 UTC (rev 13888)
+++ branches/SAMBA_3_0/source/libsmb/namequery.c 2006-03-06 19:48:00 UTC (rev 13889)
@@ -960,6 +960,7 @@
(*return_count)+1);
if ((*return_iplist) == NULL) {
+ endlmhosts(fp);
DEBUG(3,("resolve_lmhosts: malloc fail !\n"));
return False;
}
More information about the samba-cvs
mailing list