test: update object api usage
This commit is contained in:
@@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user