Skip to content

Commit

Permalink
Fix mem leak with subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
xdcsystems authored and valbok committed Jun 1, 2024
1 parent 5d69aea commit 6adcbc1
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 6adcbc1

Please sign in to comment.