diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-01-19 15:03:55 +0900 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2016-01-20 09:17:15 +0100 |
commit | 78ab2b530bdc0a897456989dfd7aaace3fc45660 (patch) | |
tree | 43be5d64e14b2e1cdedadb4e28d68c62081f8f56 /tests | |
parent | 485949494549cb4a83e19eee59c0665a425e8adf (diff) |
tests: tracerrecord: Fix messages glist memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=760821
Diffstat (limited to 'tests')
-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; } |