[ostree] core: Fix a memory leak in checkout
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: Fix a memory leak in checkout
- Date: Sun, 4 Dec 2011 19:10:46 +0000 (UTC)
commit f9315e8f82556f771768befe84e26e91ad301441
Author: Colin Walters <walters verbum org>
Date: Sun Dec 4 14:08:21 2011 -0500
core: Fix a memory leak in checkout
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 94259de..196dec8 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1204,6 +1204,7 @@ unpack_file (GFile *file,
ot_transfer_out_value (out_checksum, ret_checksum);
out:
g_clear_object (&finfo);
+ g_clear_object (&in);
ot_clear_gvariant (&xattrs);
ot_clear_gvariant (&metadata);
ot_clear_checksum (&ret_checksum);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]