diff options
author | Ben Chan <benchan@chromium.org> | 2017-07-12 01:03:37 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-07-12 11:04:09 +0200 |
commit | 4a7190f64b86b47076e91b6ebfeb59e27baa2707 (patch) | |
tree | 3ade82483f4dd5dea92c6c844f7967c178dfe4e5 | |
parent | b6f40de1e15bcb2d324157a5c24028f8a9089f74 (diff) |
telit: fix memory leak in mm_telit_get_4g_mm_bands
-rw-r--r-- | plugins/telit/mm-modem-helpers-telit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |