summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-01-12 17:52:40 +0100
committerBastien Nocera <hadess@hadess.net>2021-01-13 01:37:24 +0100
commite6a0dd4918a089304172804a077c0f6e89dc4ac0 (patch)
treeca1db31448d034e37ce9d416d4c20ab851545125
parentd49f7f90dc8af135260009e313e718704b284257 (diff)
downloadlibgweather-e6a0dd4918a089304172804a077c0f6e89dc4ac0.tar.gz
gweather: Fix GWeatherInfo memory leak
-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 f83a4db..897b684 100644
--- a/libgweather/gweather-weather.c
+++ b/libgweather/gweather-weather.c
@@ -786,6 +786,7 @@ gweather_info_finalize (GObject *object)
g_clear_pointer (&info->radar_url, g_free);
g_clear_pointer (&info->application_id, g_free);
+ g_clear_pointer (&info->contact_info, g_free);
g_free (info->forecast_attribution);