GNOME Bugzilla – Bug 361456
[basertppayload] Memory leak
Last modified: 2006-10-12 19:09:15 UTC
The base rtp payloader object doesn't free the media and encoding_name strings upon destruction which result in a memory leak.
Created attachment 74491 [details] [review] fix Initialize the strings in _init and free them _finalize.
Shows that we don't even have the most basic unit tests for the base payloader, or any payloader really ... *sigh* Thanks for the patch! Committed to CVS: 2006-10-12 Tim-Philipp Müller <tim at centricular dot net> Patch by: Sebastien Cote <sebas642 at yahoo.ca> * gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_init), (gst_basertppayload_finalize): Fix two small memory leaks (#361456).