Commit e7a65142 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/aacpsy: Clear the correct pointer

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 63fdedc7
......@@ -358,7 +358,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {
pctx->ch = av_mallocz_array(ctx->avctx->channels, sizeof(AacPsyChannel));
if (!pctx->ch) {
av_freep(&pctx);
av_freep(&ctx->model_priv_data);
return AVERROR(ENOMEM);
}
......
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