GNOME Bugzilla – Bug 757873
tsdemux: fix unadded pad leak
Last modified: 2015-11-16 07:19:05 UTC
Created attachment 315175 [details] [review] patch .
If the tsdemux never receives data for a stream, the corresponding pad will never be added and stream->active will remain FALSE. When the stream is removed, the pad will not be unreffed and will be leaked.
commit a336181ef5bba20b832fb3db6493ac737beb4bf2 Author: Etienne Peron <etienne.peron@parrot.com> Date: Wed Jun 10 14:18:00 2015 +0200 tsdemux: Fix pad leak when the pad is never exposed If tsdemux never receives data for a stream, the corresponding pad will never be added and stream->active will remain FALSE. When the stream is removed, the pad will not be unreffed and will be leaked. https://bugzilla.gnome.org/show_bug.cgi?id=757873