svn commit: samba r14128 - in branches/SAMBA_3_0/source/client: .

sfrench at samba.org sfrench at samba.org
Fri Mar 10 04:18:29 GMT 2006


Author: sfrench
Date: 2006-03-10 04:18:29 +0000 (Fri, 10 Mar 2006)
New Revision: 14128

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14128

Log:
Remove warning generated by coverity scan tool (missing SAFE_FREE in error path)

Modified:
   branches/SAMBA_3_0/source/client/clitar.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/clitar.c
===================================================================
--- branches/SAMBA_3_0/source/client/clitar.c	2006-03-10 04:05:49 UTC (rev 14127)
+++ branches/SAMBA_3_0/source/client/clitar.c	2006-03-10 04:18:29 UTC (rev 14128)
@@ -1077,6 +1077,7 @@
 	while (left > 0) {
 		if (next_block(tarbuf, &buffer_p, tbufsiz) <= 0) {
 			DEBUG(0, ("Empty file, short tar file, or read error: %s\n", strerror(errno)));
+			SAFE_FREE(longname);
 			return(NULL);
 		}
 



More information about the samba-cvs mailing list