mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
gst-stats: fix leaks
String returned from g_match_info_fetch() needs to be freed.
This commit is contained in:
parent
71f1b5ec83
commit
35294f365e
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue