svn commit: samba r2192 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

tridge at samba.org tridge at samba.org
Thu Sep 2 21:55:24 GMT 2004


Author: tridge
Date: 2004-09-02 21:55:24 +0000 (Thu, 02 Sep 2004)
New Revision: 2192

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/ldb/ldb_tdb&rev=2192&nolog=1

Log:
removed an erroneous free() call on an error path


Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c	2004-09-02 21:52:35 UTC (rev 2191)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c	2004-09-02 21:55:24 UTC (rev 2192)
@@ -364,7 +364,6 @@
 	if (el->num_values != 0) {
 		e2->values = ldb_malloc_array_p(ldb, struct ldb_val, el->num_values);
 		if (!e2->values) {
-			free(e2->name);
 			errno = ENOMEM;
 			return -1;
 		}



More information about the samba-cvs mailing list