Rev 130: make sure we unlock in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Tue Apr 17 05:33:58 GMT 2007


------------------------------------------------------------
revno: 130
revision-id: tridge at samba.org-20070417053358-ca65998497e6eb09
parent: tridge at samba.org-20070417053320-24de1716550f0cd1
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Tue 2007-04-17 15:33:58 +1000
message:
  make sure we unlock
modified:
  tests/ctdb_fetch.c             ctdb_fetch.c-20070405031748-f7gslozfj3rwh5ie-1
=== modified file 'tests/ctdb_fetch.c'
--- a/tests/ctdb_fetch.c	2007-04-17 05:01:42 +0000
+++ b/tests/ctdb_fetch.c	2007-04-17 05:33:58 +0000
@@ -89,6 +89,7 @@
 	data.dsize = strlen((const char *)data.dptr)+1;
 
 	ret = ctdb_record_store(h, data);
+	talloc_free(h);
 	if (ret != 0) {
 		printf("Failed to store record\n");
 	}



More information about the samba-cvs mailing list