33 lines
980 B
Diff
33 lines
980 B
Diff
From 0f131857babb41eb443a8f7ae843e5990978a719 Mon Sep 17 00:00:00 2001
|
||
From: Philip Withnall <withnall@endlessm.com>
|
||
Date: Mon, 29 Jul 2019 10:49:45 +0100
|
||
Subject: [PATCH 458/493] gapplication: Fix a leaking GRemoteActionGroup member
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
Fix prompted by Ting-Wei Lan’s similar fix for the inactivity timeout
|
||
(!1009).
|
||
|
||
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
||
---
|
||
gio/gapplication.c | 2 ++
|
||
1 file changed, 2 insertions(+)
|
||
|
||
diff --git a/gio/gapplication.c b/gio/gapplication.c
|
||
index 8ad4d0f..ad5826d 100644
|
||
--- a/gio/gapplication.c
|
||
+++ b/gio/gapplication.c
|
||
@@ -1395,6 +1395,8 @@ g_application_finalize (GObject *object)
|
||
if (application->priv->actions)
|
||
g_object_unref (application->priv->actions);
|
||
|
||
+ g_clear_object (&application->priv->remote_actions);
|
||
+
|
||
if (application->priv->notifications)
|
||
g_object_unref (application->priv->notifications);
|
||
|
||
--
|
||
1.8.3.1
|
||
|