summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2020-11-09 18:42:46 +0000
committerZeeshan Ali <zeeshanak@gnome.org>2020-12-23 12:35:30 +0100
commita0f472a4809c57bd6a889f8663c963b2c620d245 (patch)
treee3b6a6929b2725980267c1ea6106d75994cf0c6d
parentd223fe19a6662c53601907b8f076631515c511c9 (diff)
downloadgeoclue-a0f472a4809c57bd6a889f8663c963b2c620d245.tar.gz
gclue-locator: Fix minor leak on exit
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
-rw-r--r--src/gclue-locator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gclue-locator.c b/src/gclue-locator.c
index fb2c7aa..650be43 100644
--- a/src/gclue-locator.c
+++ b/src/gclue-locator.c
@@ -323,6 +323,7 @@ gclue_locator_finalize (GObject *gsource)
}
g_list_free_full (priv->sources, g_object_unref);
priv->sources = NULL;
+ g_list_free (priv->active_sources);
priv->active_sources = NULL;
G_OBJECT_CLASS (gclue_locator_parent_class)->finalize (gsource);