]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
make sure we unlock
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Apr 2007 05:33:58 +0000 (15:33 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Apr 2007 05:33:58 +0000 (15:33 +1000)
(This used to be ctdb commit c09054f878a88129abb6cce24c7bbf53f61a2648)

ctdb/tests/ctdb_fetch.c

index 33396fe4f3aca4d38d1e9e86d4dbf198e2dda895..35ab9892994cf8fb5ac2cab4c2b66d4bc7c6b923 100644 (file)
@@ -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");
        }