Commit 9f195899 authored by andoma's avatar andoma

Fix memory leak in libgsm wrapper.

Patch by Martin Storsjö, martin at martin dot st



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15798 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 76e682b8
......@@ -89,6 +89,7 @@ static av_cold int libgsm_init(AVCodecContext *avctx) {
}
static av_cold int libgsm_close(AVCodecContext *avctx) {
av_freep(&avctx->coded_frame);
gsm_destroy(avctx->priv_data);
avctx->priv_data = NULL;
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment