diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-01 01:32:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-01 01:32:24 +0200 |
commit | e7a65142b972fc1f7fd020d89c8f82dc3cfbc553 (patch) | |
tree | 8b256f6bfa78a5934a64ecab91273003c10d2ef6 /libavcodec/aacpsy.c | |
parent | 63fdedc79470de309693d7ce7fe75cfcf0a268d8 (diff) | |
download | ffmpeg-e7a65142b972fc1f7fd020d89c8f82dc3cfbc553.tar.gz |
avcodec/aacpsy: Clear the correct pointer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacpsy.c')
-rw-r--r-- | libavcodec/aacpsy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 0d059373b7..3a66159476 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -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); } |