GNOME Bugzilla – Bug 795236
plug leaks
Last modified: 2020-11-17 13:20:13 UTC
I'm attaching a couple of patches fixing a handful of leaks.
Created attachment 370899 [details] [review] Plug xmlGetProp leaks A couple of parser were doing a number of calls to this function without freeing the resulting string.
Created attachment 370900 [details] [review] Plug variant leaks gweather_location_format_two_deserialize() is fetching two nested variants, but not freeing them afterwards.
Review of attachment 370900 [details] [review]: Fixed in https://gitlab.gnome.org/GNOME/libgweather/-/commit/1081c9c8eead68a14f0de55f5d6edb5793789091 by chergert
(In reply to Carlos Garnacho from comment #2) > Created attachment 370900 [details] [review] [review] > Plug variant leaks > > gweather_location_format_two_deserialize() is fetching two nested variants, > but not freeing them afterwards. Carlos: Not yet committed. Any idea who could review this? hadess? chergert? Someone else? Thanks.
Not sure tbh. One thing for sure, it's got a better chance in GitLab :). Will put it there.
Now at https://gitlab.gnome.org/GNOME/libgweather/-/merge_requests/79
Thanks. Patch merged.