Skip to content

Commit

Permalink
Merge pull request xbmc#17346 from Paxxi/memleak
Browse files Browse the repository at this point in the history
Fix memory leak
  • Loading branch information
Paxxi authored and Maven85 committed May 5, 2020
1 parent 04861d2 commit 06f00e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,7 @@ CDemuxStream* CDVDDemuxFFmpeg::AddStream(int streamIdx)
{
CLog::Log(LOGDEBUG, "CDVDDemuxFFmpeg::AddStream - discarding Dolby Vision stream");
pStream->discard = AVDISCARD_ALL;
delete stream;
return nullptr;
}
stream->dvdNavId = pStream->id;
Expand Down

0 comments on commit 06f00e4

Please sign in to comment.