test: obj: deref objects obtained from get_at() after use

This commit is contained in:
2023-03-05 18:26:28 +00:00
parent 8285506e58
commit 7fab406b44

View File

@@ -48,6 +48,7 @@ static void print_object_tree(object_t *obj, int depth)
}
print_object_tree(child, depth + 1);
object_deref(child);
i++;
}
}