core: Fix memory leak
This commit is contained in:
1 parent
8f2dda3e25
commit
df54408e5d
1 file changed
+1
@@ -1840,6 +1840,7 @@ ostree_validate_structureof_pack_superindex (GVariant *superindex,
|
|||||||
csum_v = NULL;
|
csum_v = NULL;
|
||||||
bloom = NULL;
|
bloom = NULL;
|
||||||
|
|
||||||
|
g_variant_iter_free (content_iter);
|
||||||
g_variant_get_child (superindex, 3, "a(ayay)", &content_iter);
|
g_variant_get_child (superindex, 3, "a(ayay)", &content_iter);
|
||||||
while (g_variant_iter_loop (content_iter, "(@ay@ay)",
|
while (g_variant_iter_loop (content_iter, "(@ay@ay)",
|
||||||
&csum_v, &bloom))
|
&csum_v, &bloom))
|
||||||
|
|||||||
Reference in new issue
Block a user