diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2021-11-15 21:36:59 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2021-12-10 14:53:40 +0000 |
commit | 59f265eea4ce1de7b0c61cd5f3491a3e448c125c (patch) | |
tree | d0301f4b19f5dbca7c47c73f2dedabcccce458ae | |
parent | 7083a6c103eb062ee9d26351272440763dfe7320 (diff) | |
download | gnome-session-59f265eea4ce1de7b0c61cd5f3491a3e448c125c.tar.gz |
manager: Fix a couple of minor leaks
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r-- | gnome-session/gsm-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c index 1bccec94..39e867c3 100644 --- a/gnome-session/gsm-manager.c +++ b/gnome-session/gsm-manager.c @@ -2401,6 +2401,7 @@ gsm_manager_dispose (GObject *object) g_clear_object (&priv->end_session_cancellable); g_clear_object (&priv->xsmp_server); + g_clear_pointer (&priv->session_name, g_free); if (priv->clients != NULL) { g_signal_handlers_disconnect_by_func (priv->clients, @@ -2416,6 +2417,8 @@ gsm_manager_dispose (GObject *object) g_clear_object (&priv->apps); g_slist_free (priv->required_apps); priv->required_apps = NULL; + g_slist_free (priv->pending_apps); + priv->pending_apps = NULL; if (priv->inhibitors != NULL) { g_signal_handlers_disconnect_by_func (priv->inhibitors, |