From 84043767fb76f815d600e7aa8e9868728f843dd9 Mon Sep 17 00:00:00 2001 From: Joaquim Rocha Date: Tue, 28 Jun 2016 13:14:35 +0200 Subject: [PATCH] Fix leak in flatpak-installed-ref The latest_commit string needs to be freed. --- lib/flatpak-installed-ref.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/flatpak-installed-ref.c b/lib/flatpak-installed-ref.c index 9e263943..082ddcf4 100644 --- a/lib/flatpak-installed-ref.c +++ b/lib/flatpak-installed-ref.c @@ -68,6 +68,7 @@ flatpak_installed_ref_finalize (GObject *object) FlatpakInstalledRefPrivate *priv = flatpak_installed_ref_get_instance_private (self); g_free (priv->origin); + g_free (priv->latest_commit); g_free (priv->deploy_dir); g_strfreev (priv->subpaths);