mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
tests/gst/info: Fix messages glist memory leak
This commit is contained in:
parent
78ab2b530b
commit
bdc34bd61a
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ GST_START_TEST (info_old_printf_extensions)
|
||||||
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
|
gst_debug_add_log_function (gst_debug_log_default, NULL, NULL);
|
||||||
gst_debug_remove_log_function (printf_extension_log_func);
|
gst_debug_remove_log_function (printf_extension_log_func);
|
||||||
save_messages = FALSE;
|
save_messages = FALSE;
|
||||||
g_list_foreach (messages, (GFunc) g_free, NULL);
|
g_list_free_full (messages, (GDestroyNotify) g_free);
|
||||||
messages = NULL;
|
messages = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue