mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: tracerrecord: Fix messages glist memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=760821
This commit is contained in:
parent
4859494945
commit
78ab2b530b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ cleanup (void)
|
|||
gst_debug_set_threshold_for_name ("GST_TRACER", GST_LEVEL_NONE);
|
||||
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
|
||||
gst_debug_remove_log_function (tracer_log_func);
|
||||
g_list_foreach (messages, (GFunc) g_free, NULL);
|
||||
g_list_free_full (messages, (GDestroyNotify) g_free);
|
||||
messages = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue