From: Andrew Tridgell Date: Tue, 17 Apr 2007 05:33:58 +0000 (+1000) Subject: make sure we unlock X-Git-Tag: tevent-0.9.20~348^2~2901 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae6722e84568cda9b3dc494a3e7fd10bbeacdb8c;p=thirdparty%2Fsamba.git make sure we unlock (This used to be ctdb commit c09054f878a88129abb6cce24c7bbf53f61a2648) --- diff --git a/ctdb/tests/ctdb_fetch.c b/ctdb/tests/ctdb_fetch.c index 33396fe4f3a..35ab9892994 100644 --- a/ctdb/tests/ctdb_fetch.c +++ b/ctdb/tests/ctdb_fetch.c @@ -89,6 +89,7 @@ static void bench_fetch_1node(struct ctdb_context *ctdb) 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"); }