diff --git a/test/obj.c b/test/obj.c index 1e6bb34..420d8a5 100644 --- a/test/obj.c +++ b/test/obj.c @@ -53,7 +53,7 @@ static void print_object_tree(struct object *obj, int depth) } print_object_tree(child, depth + 1); - object_deref(child); + object_unref(child); i++; } }