[libgweather/wip/hadess/weather-fixes: 4/6] gweather: Fix GWeatherInfo memory leak




commit e6a0dd4918a089304172804a077c0f6e89dc4ac0
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 12 17:52:40 2021 +0100

    gweather: Fix GWeatherInfo memory leak

 libgweather/gweather-weather.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgweather/gweather-weather.c b/libgweather/gweather-weather.c
index f83a4db8..897b6844 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]