Skip to content

Commit

Permalink
dvdplayer: CID 1261373 (#1 of 1): Resource leak (RESOURCE_LEAK)
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Dec 31, 2014
1 parent 8d8946d commit bd976e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1422,6 +1422,8 @@ void CDVDPlayer::Process()
CDemuxStream *pSubStream = m_pCCDemuxer->GetStream(pkt->iStreamId);
if (pSubStream)
ProcessSubData(pSubStream, pkt);
else
CDVDDemuxUtils::FreeDemuxPacket(pkt);
}
}
}
Expand Down

0 comments on commit bd976e2

Please sign in to comment.