Code

store_lookup_test: Dereference objects returned from the store.
authorSebastian Harl <sh@tokkee.org>
Wed, 23 Apr 2014 08:23:59 +0000 (10:23 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 23 Apr 2014 08:23:59 +0000 (10:23 +0200)
t/core/store_lookup_test.c

index 2b52a66de1d32e05d7a79a371c6d095d3eed6fc8..8ead947bfa5b600bd51409e24735d2e8d4c80030 100644 (file)
@@ -264,6 +264,8 @@ START_TEST(test_store_match)
 
                sdb_object_deref(SDB_OBJ(n));
        }
+
+       sdb_object_deref(SDB_OBJ(obj));
 }
 END_TEST
 
@@ -332,6 +334,8 @@ START_TEST(test_store_match_op)
 
        sdb_object_deref(SDB_OBJ(always));
        sdb_object_deref(SDB_OBJ(never));
+
+       sdb_object_deref(SDB_OBJ(obj));
 }
 END_TEST