GNOME Bugzilla – Bug 755201
playback-test: Dont free null array on exit
Last modified: 2015-09-18 08:04:24 UTC
./playback-test 1 "videotestsrc ! autovideosink" throws following error message when the app is closed, as g_array_free is called with null array. "(lt-playback-test:6845): GLib-CRITICAL **: g_array_free: assertion 'array' failed".
Created attachment 311602 [details] [review] free array only if not null Patch attached. Please review.
commit 53eb6a750256d0546ee9a34c744a4352d483b352 Author: Ravi Kiran K N <ravi.kiran@samsung.com> Date: Fri Sep 18 10:59:46 2015 +0530 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