From 4a7190f64b86b47076e91b6ebfeb59e27baa2707 Mon Sep 17 00:00:00 2001 From: Ben Chan Date: Wed, 12 Jul 2017 01:03:37 -0700 Subject: [PATCH] telit: fix memory leak in mm_telit_get_4g_mm_bands --- plugins/telit/mm-modem-helpers-telit.c | 1 + 1 file changed, 1 insertion(+) 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); }