svn commit: samba r22165 - in branches/SAMBA_4_0/source/lib/tdb/common: .

tridge at samba.org tridge at samba.org
Wed Apr 11 05:45:03 GMT 2007


Author: tridge
Date: 2007-04-11 05:45:02 +0000 (Wed, 11 Apr 2007)
New Revision: 22165

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

Log:
merge transaction fix from samba3
Modified:
   branches/SAMBA_4_0/source/lib/tdb/common/transaction.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/common/transaction.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/common/transaction.c	2007-04-11 05:27:00 UTC (rev 22164)
+++ branches/SAMBA_4_0/source/lib/tdb/common/transaction.c	2007-04-11 05:45:02 UTC (rev 22165)
@@ -523,6 +523,8 @@
 				   F_UNLCK,F_SETLKW, 0, 1);
 		}
 		tdb->num_locks = 0;
+		tdb->num_lockrecs = 0;
+		SAFE_FREE(tdb->lockrecs);
 	}
 
 	/* restore the normal io methods */



More information about the samba-cvs mailing list