telit: fix memory leak in mm_telit_get_4g_mm_bands

This commit is contained in:
Ben Chan
2017-07-12 11:04:09 +02:00
committed by Aleksander Morgado
parent b6f40de1e1
commit 4a7190f64b
+1
View File
@@ -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);
}