Skip to content

Commit

Permalink
Merge pull request #479 from valbok/subtitles-memleak
Browse files Browse the repository at this point in the history
Fix mem leak with subtitles
  • Loading branch information
valbok authored Jun 1, 2024
2 parents 5d69aea + 6adcbc1 commit 2ca7545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/QtAVPlayer/qavsubtitleframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class QAVSubtitleFramePrivate : public QAVStreamFramePrivate
static void subtitle_free(AVSubtitle *subtitle)
{
avsubtitle_free(subtitle);
delete subtitle;
}

QAVSubtitleFrame::QAVSubtitleFrame()
Expand Down

0 comments on commit 2ca7545

Please sign in to comment.