mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
playback-test: avoid critical on exit
Only free vis_entries array when not null on exit. https://bugzilla.gnome.org/show_bug.cgi?id=755201
This commit is contained in:
parent
e58ad7a2b4
commit
53eb6a7502
1 changed files with 2 additions and 1 deletions
|
@ -3385,6 +3385,7 @@ reset_app (PlaybackApp * app)
|
||||||
g_list_free (app->paths);
|
g_list_free (app->paths);
|
||||||
g_list_foreach (app->sub_paths, (GFunc) g_free, NULL);
|
g_list_foreach (app->sub_paths, (GFunc) g_free, NULL);
|
||||||
g_list_free (app->sub_paths);
|
g_list_free (app->sub_paths);
|
||||||
|
if (app->vis_entries)
|
||||||
g_array_free (app->vis_entries, TRUE);
|
g_array_free (app->vis_entries, TRUE);
|
||||||
g_print ("free pipeline\n");
|
g_print ("free pipeline\n");
|
||||||
gst_object_unref (app->pipeline);
|
gst_object_unref (app->pipeline);
|
||||||
|
|
Loading…
Reference in a new issue