GNOME Bugzilla – Bug 340623
[matroskademux] small memory leak
Last modified: 2006-05-04 17:28:01 UTC
Matroska demuxer never dereferences pad capabilities stored in track context (they are created around line gst_matroska_demux_add_stream and stored around line 920) Fix follows.
Created attachment 64805 [details] [review] Patch fixing memory leak
Thanks, looks good (although we could probably get rid of track->caps completely and just use GST_PAD_CAPS (stream->pad) in the two cases where we use it). gst-plugins-good is frozen at the moment for the release, will commit once the release is out.
Thanks, committed: 2006-05-04 Tim-Philipp Müller <tim at centricular dot net> Patch by: Michal Benes <michal dot benes at xeris dot cz> * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset): Don't leak caps when freeing the stream context (#340623).