summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-02-26 14:17:07 +0100
committerAlexander Larsson <alexl@redhat.com>2016-02-26 14:17:07 +0100
commit1ee1ed6eb947ddcd223965cb592a094666782404 (patch)
tree59521a25a8eeeae48a8258069c2a3874396906f8 /lib
parent38c24d536a08ee81c61a0a61b8f4ed1aa21bcaaa (diff)
downloadxdg-app-1ee1ed6eb947ddcd223965cb592a094666782404.tar.gz
lib: Fix a tiny leak
Diffstat (limited to 'lib')
-rw-r--r--lib/xdg-app-bundle-ref.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/xdg-app-bundle-ref.c b/lib/xdg-app-bundle-ref.c
index 39df95e..5539db6 100644
--- a/lib/xdg-app-bundle-ref.c
+++ b/lib/xdg-app-bundle-ref.c
@@ -54,6 +54,11 @@ xdg_app_bundle_ref_finalize (GObject *object)
g_clear_object (&priv->file);
+ g_bytes_unref (priv->metadata);
+ g_bytes_unref (priv->appstream);
+ g_bytes_unref (priv->icon_64);
+ g_bytes_unref (priv->icon_128);
+
G_OBJECT_CLASS (xdg_app_bundle_ref_parent_class)->finalize (object);
}