svn commit: samba r14489 - in branches/SAMBA_3_0/source/printing: .

jra at samba.org jra at samba.org
Thu Mar 16 21:05:19 GMT 2006


Author: jra
Date: 2006-03-16 21:05:15 +0000 (Thu, 16 Mar 2006)
New Revision: 14489

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

Log:
Guard against coverity reversion. #181 is a false positive
but make the intent clearer.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/printing/nt_printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/nt_printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/nt_printing.c	2006-03-16 20:02:31 UTC (rev 14488)
+++ branches/SAMBA_3_0/source/printing/nt_printing.c	2006-03-16 21:05:15 UTC (rev 14489)
@@ -754,6 +754,8 @@
 	int i;
 	int n = 0;
 
+	*list = NULL;
+
 	for (kbuf = tdb_firstkey(tdb_forms);
 	     kbuf.dptr;
 	     newkey = tdb_nextkey(tdb_forms, kbuf), safe_free(kbuf.dptr), kbuf=newkey) 



More information about the samba-cvs mailing list