Code

utils llist: Let llist_get() increment the reference count.
[sysdb.git] / t / frontend / parser_test.c
index 64580b9e70412aebc8800f599da6bc52f6f5d960..acd8ee69f079c5571be0b4786ef8ec9c647436fe 100644 (file)
@@ -91,6 +91,7 @@ START_TEST(test_parse)
                                        "sdb_fe_parse(LIST)->cmd = %i; expected: %d "
                                        "(CONNECTION_LIST)", SDB_CONN_NODE(obj)->cmd,
                                        CONNECTION_LIST);
+                       sdb_object_deref(obj);
                }
 
                sdb_llist_destroy(check);