GNOME Bugzilla – Bug 448782
add finalize() to amrnbdec element
Last modified: 2007-06-19 14:16:34 UTC
Hi, patch to add finalize() function to amrnbdec element and avoid memleak due to GstAdapter not freed. Regards
Created attachment 90206 [details] [review] add finalize() function to clear adapter
Patch by: Laurent Glayal <spglegle at yahoo dot fr> * ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init), (gst_amrnbdec_finalize): Don't leak the adapter, unref it in a new finalize method instead. Fixes #448782.