gst-stats: fix leaks

String returned from g_match_info_fetch() needs to be freed.
This commit is contained in:
Guillaume Desmottes 2019-07-08 13:16:08 +02:00
parent 71f1b5ec83
commit 35294f365e

View file

@ -1080,7 +1080,9 @@ collect_stats (const gchar * filename)
} else {
GST_WARNING ("unknown log entry: '%s'", data);
}
g_free (data);
}
g_free (level);
} else {
if (*line) {
GST_WARNING ("foreign log entry: %s:%d:'%s'", filename, lnr,