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 Aug 7, 2020
1 parent f0677c8 commit d406136
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 d406136

Please sign in to comment.