Commit 45fc24a0 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Originally committed as revision 20252 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0b7f39c9
......@@ -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