svn commit: samba r13890 - in trunk/source/libsmb: .
jra at samba.org
jra at samba.org
Mon Mar 6 19:48:10 GMT 2006
Author: jra
Date: 2006-03-06 19:48:07 +0000 (Mon, 06 Mar 2006)
New Revision: 13890
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13890
Log:
Fix resource leak on error path. Coverity bug CID #73.
Jeremy.
Modified:
trunk/source/libsmb/namequery.c
Changeset:
Modified: trunk/source/libsmb/namequery.c
===================================================================
--- trunk/source/libsmb/namequery.c 2006-03-06 19:48:00 UTC (rev 13889)
+++ trunk/source/libsmb/namequery.c 2006-03-06 19:48:07 UTC (rev 13890)
@@ -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