flatpak/0001-ref-Fix-a-memory-leak.patch

27 lines
681 B
Diff
Raw Normal View History

From 18a16227556ad0aa24f9b8c759d571fcc5cdb728 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Fri, 14 Jun 2019 12:30:57 +0200
Subject: [PATCH] ref: Fix a memory leak
Closes: #2964
Approved by: mwleeds
---
common/flatpak-ref.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/flatpak-ref.c b/common/flatpak-ref.c
index 38554e97..6dacb19c 100644
--- a/common/flatpak-ref.c
+++ b/common/flatpak-ref.c
@@ -82,6 +82,7 @@ flatpak_ref_finalize (GObject *object)
g_free (priv->arch);
g_free (priv->branch);
g_free (priv->commit);
+ g_free (priv->collection_id);
G_OBJECT_CLASS (flatpak_ref_parent_class)->finalize (object);
}
--
2.21.0