diff options
-rw-r--r-- | tests/check/gst/gsttracerrecord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/gst/gsttracerrecord.c b/tests/check/gst/gsttracerrecord.c index f786fd9fb..f9b44afba 100644 --- a/tests/check/gst/gsttracerrecord.c +++ b/tests/check/gst/gsttracerrecord.c @@ -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; } |