Commit 84b8ef24 authored by cehoyos's avatar cehoyos

Do not try to free memory that was never allocated (partial revert of r20231).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4e359d53
......@@ -219,7 +219,6 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&ic->picture);
return 0;
}
......
......@@ -281,7 +281,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}
......
......@@ -146,7 +146,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&a->pic);
return 0;
}
......
......@@ -866,7 +866,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}
......
......@@ -61,7 +61,6 @@ static av_cold int ulti_decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&s->frame);
return 0;
}
......
......@@ -149,7 +149,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&l->pic);
return 0;
}
......
......@@ -134,7 +134,6 @@ static av_cold int decode_end(AVCodecContext *avctx){
if (pic->data[0])
avctx->release_buffer(avctx, pic);
av_freep(&a->pic);
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