diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-03-15 13:58:15 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-03-15 13:58:15 +0000 |
commit | a67918e91a0ec9f86e3a090d13c47982da05fb84 (patch) | |
tree | 05f9f2f67df13cb1bd3da993ffd166fe436cb34d | |
parent | 78a329c3659f8afc075a68f9305217c1ba8c0743 (diff) | |
parent | 5236ce83f1c56cf81f4a7988dcfe3fd7e3c7ee1a (diff) | |
download | libgweather-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.c | 1 |
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); |