[ostree] core: Fix memory leak
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: Fix memory leak
- Date: Wed, 6 Jun 2012 02:40:10 +0000 (UTC)
commit df54408e5dfa584955e07dbb8e370713fb527cac
Author: Colin Walters <walters verbum org>
Date: Tue Jun 5 18:29:32 2012 -0400
core: Fix memory leak
src/libostree/ostree-core.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index 5d2b07e..3d4bace 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1840,6 +1840,7 @@ ostree_validate_structureof_pack_superindex (GVariant *superindex,
csum_v = NULL;
bloom = NULL;
+ g_variant_iter_free (content_iter);
g_variant_get_child (superindex, 3, "a(ayay)", &content_iter);
while (g_variant_iter_loop (content_iter, "(@ay ay)",
&csum_v, &bloom))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]