GNOME Bugzilla – Bug 622725
[mpgtsparse] Doesn't remove pids from pes_pids
Last modified: 2010-06-30 17:32:15 UTC
Created attachment 164618 [details] [review] Don't free pat structure This is a problem if you tune to a channel which uses pid X and later tune to another channel where X is used for another table (e.g. PMT). The code that does that was actually already there but never used because the pat structure was freed before. The commit that introduced those lines intended to fix a memory leak, I checked that thoroughly, no leak is introduced. I already talked to Zaheer about this and he agrees with my patch.
Pushed: commit 61a885613316ce7657c36a6cd215b43f9dc67b79 Author: Sebastian Pölsterl <sebp@k-d-w.org> Date: Wed Jun 30 18:20:13 2010 +0100 mpegtsparse: don't free PAT structure which may still be needed later This is a problem if you tune to a channel which uses pid X and later tune to another channel where X is used for another table (e.g. PMT). The code that does that was actually already there but never used because the pat structure was freed before. The commit that introduced those lines intended to fix a memory leak, but we clean things up elsewhere. Fixes #622725.