test: obj: deref objects obtained from get_at() after use
This commit is contained in:
@@ -48,6 +48,7 @@ static void print_object_tree(object_t *obj, int depth)
|
||||
}
|
||||
|
||||
print_object_tree(child, depth + 1);
|
||||
object_deref(child);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user