diff options
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libgsm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libgsm.c b/libavcodec/libgsm.c index 09578b403d..2d7df9b984 100644 --- a/libavcodec/libgsm.c +++ b/libavcodec/libgsm.c @@ -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; |