History

qsv/vp8dec: fixes memory leak issue

Li, Zhong committed 8 years ago

Commit f2e9a0e1 parent 7c65a761 file · +5 −0Browse files

Unified · Split

libavcodec/qsvdec_other.c+5−0
@@ -60,6 +60,11 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx) · 59 unmodified lines
6060 {
6161 QSVOtherContext *s = avctx->priv_data;
6262
63+#if CONFIG_VP8_QSV_DECODER
64+ if (avctx->codec_id == AV_CODEC_ID_VP8)
65+ av_freep(&s->qsv.load_plugins);
66+#endif
67+
6368 ff_qsv_decode_close(&s->qsv);
6469
6570 qsv_clear_buffers(s);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t