svn commit: samba r16742 - in trunk/source/libndr: .

vlendec at samba.org vlendec at samba.org
Sat Jul 1 15:12:11 GMT 2006


Author: vlendec
Date: 2006-07-01 15:12:10 +0000 (Sat, 01 Jul 2006)
New Revision: 16742

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

Log:
Fix an uninitialized variable warning
Modified:
   trunk/source/libndr/ndr.c


Changeset:
Modified: trunk/source/libndr/ndr.c
===================================================================
--- trunk/source/libndr/ndr.c	2006-07-01 14:41:01 UTC (rev 16741)
+++ trunk/source/libndr/ndr.c	2006-07-01 15:12:10 UTC (rev 16742)
@@ -151,6 +151,7 @@
 	DATA_BLOB blob;
 	blob.data = ndr->data;
 	blob.length = ndr->offset;
+	blob.free = NULL;
 	if (ndr->alloc_size > ndr->offset) {
 		ndr->data[ndr->offset] = 0;
 	}



More information about the samba-cvs mailing list