serial-parsers: plug memleak

This commit is contained in:
Aleksander Morgado
2013-06-25 11:48:43 +02:00
parent 597401f80a
commit b4f6a4ac0b
+1
View File
@@ -340,6 +340,7 @@ mm_serial_parser_v1_parse (gpointer data,
local_error = mm_connection_error_for_code (code);
goto done;
}
g_match_info_free (match_info);
/* NA error */
found = g_regex_match_full (parser->regex_na,