GNOME Bugzilla – Bug 309532
Matroska: Invalid free()
Last modified: 2005-07-06 10:29:45 UTC
MAtroska muxer frees a array allocated via g_array_sized_new() by calling free(), which is incorrect (and causes segfault). g_array_free() should be used. The attached patch fixes this.
Created attachment 48679 [details] [review] Patch with correct freeing
Needs a g_array_free (used_uids, TRUE), otherwise it's leaking the memory. Fixed in BRANCH-GSTREAMER-0_8 (matroska hasn't been ported to HEAD yet).