diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-17 15:33:58 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-04-17 15:33:58 +1000 |
commit | ae6722e84568cda9b3dc494a3e7fd10bbeacdb8c (patch) | |
tree | 4634a3c1586c55c6967ca6d5f7e3bf667034d62d | |
parent | b87de399f2037be2a689f8df8e97f20f32fdce46 (diff) | |
download | samba-ae6722e84568cda9b3dc494a3e7fd10bbeacdb8c.tar.gz samba-ae6722e84568cda9b3dc494a3e7fd10bbeacdb8c.tar.xz samba-ae6722e84568cda9b3dc494a3e7fd10bbeacdb8c.zip |
make sure we unlock
(This used to be ctdb commit c09054f878a88129abb6cce24c7bbf53f61a2648)
-rw-r--r-- | ctdb/tests/ctdb_fetch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tests/ctdb_fetch.c b/ctdb/tests/ctdb_fetch.c index 33396fe4f3..35ab989299 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"); } |