[PATCH 2/5] telit: fix memory leak in mm_telit_get_4g_mm_bands
Aleksander Morgado
aleksander at aleksander.es
Wed Jul 12 09:06:57 UTC 2017
On 12/07/17 10:03, Ben Chan wrote:
> ---
> plugins/telit/mm-modem-helpers-telit.c | 1 +
> 1 file changed, 1 insertion(+)
>
Pushed to git master, thanks!
> diff --git a/plugins/telit/mm-modem-helpers-telit.c b/plugins/telit/mm-modem-helpers-telit.c
> index 39e0d1bd..d0e50ab3 100644
> --- a/plugins/telit/mm-modem-helpers-telit.c
> +++ b/plugins/telit/mm-modem-helpers-telit.c
> @@ -472,6 +472,7 @@ mm_telit_get_4g_mm_bands(GMatchInfo *match_info,
> goto end;
> }
> sscanf (tokens[1], "%d", &value);
> + g_strfreev (tokens);
> } else {
> sscanf (match_str, "%d", &value);
> }
>
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list