File libgweather-forecast-attribution-leak.patch of Package libgweather.20345
From a0de54138ec0865602e04d911ca88b0d9d03e6cb Mon Sep 17 00:00:00 2001
From: Sebastian Keller <skeller@gnome.org>
Date: Wed, 22 Jan 2020 18:21:17 +0100
Subject: [PATCH] GWeatherWeather: Fix forecast attribution leak
---
libgweather/gweather-weather.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index 7ec0cdb7..e014916c 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);
}
--
2.31.1