summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Keller <skeller@gnome.org>2020-01-22 18:21:17 +0100
committerBastien Nocera <hadess@hadess.net>2020-03-09 11:12:38 +0100
commit54bc9a6c31a395b96bd8fc93518088c96d628075 (patch)
treeed45ca51eb1ad54594094557f7b69cb8d0e80dff
parentd37b0cbdb6e47061ed9bcdae1a90a9bdeb6f7a20 (diff)
downloadlibgweather-54bc9a6c31a395b96bd8fc93518088c96d628075.tar.gz
GWeatherWeather: Fix forecast attribution leak
-rw-r--r--libgweather/gweather-weather.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index 0a9626b..1f0ae25 100644
--- a/libgweather/gweather-weather.c
+++ b/libgweather/gweather-weather.c
@@ -751,6 +751,8 @@ gweather_info_finalize (GObject *object)
g_free (priv->radar_url);
priv->radar_url = NULL;
+ g_free (priv->forecast_attribution);
+
G_OBJECT_CLASS (gweather_info_parent_class)->finalize (object);
}