summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-03-15 13:58:15 +0000
committerBastien Nocera <hadess@hadess.net>2018-03-15 13:58:15 +0000
commita67918e91a0ec9f86e3a090d13c47982da05fb84 (patch)
tree05f9f2f67df13cb1bd3da993ffd166fe436cb34d
parent78a329c3659f8afc075a68f9305217c1ba8c0743 (diff)
parent5236ce83f1c56cf81f4a7988dcfe3fd7e3c7ee1a (diff)
downloadlibgweather-a67918e91a0ec9f86e3a090d13c47982da05fb84.tar.gz
Merge branch 'wip/gsettings-leak-fix' into 'master'
lib: Fix memory and D-Bus match rule leaks See merge request GNOME/libgweather!3
-rw-r--r--libgweather/gweather-weather.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index 6ece656..571a3e0 100644
--- a/libgweather/gweather-weather.c
+++ b/libgweather/gweather-weather.c
@@ -738,6 +738,7 @@ gweather_info_finalize (GObject *object)
GWeatherInfoPrivate *priv = info->priv;
_weather_location_free (&priv->location);
+ g_clear_object (&priv->settings);
if (priv->glocation)
gweather_location_unref (priv->glocation);