Skip to content
Snippets Groups Projects
Commit c00f368c authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/ac3dec: use av_freep() for saftey

parent 27f77a37
No related branches found
No related tags found
No related merge requests found
...@@ -1609,7 +1609,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx) ...@@ -1609,7 +1609,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx)
ff_mdct_end(&s->imdct_512); ff_mdct_end(&s->imdct_512);
ff_mdct_end(&s->imdct_256); ff_mdct_end(&s->imdct_256);
#if (USE_FIXED) #if (USE_FIXED)
av_free(s->fdsp); av_freep(&s->fdsp);
#endif #endif
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment