Re: [PATCH 19/26] plugins: fix memory leak while parsing options

2023-06-26 Thread Richard Henderson
On 6/23/23 14:20, Alex Bennée wrote: It was hard to track down this leak as it was an internal allocation by glib and the backtraces did not give much away. The autofree was freeing the allocation with g_free() but not taking care of the individual strings. They should have been freed with g_strf

[PATCH 19/26] plugins: fix memory leak while parsing options

2023-06-23 Thread Alex Bennée
It was hard to track down this leak as it was an internal allocation by glib and the backtraces did not give much away. The autofree was freeing the allocation with g_free() but not taking care of the individual strings. They should have been freed with g_strfreev() instead. Searching the glib sou