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
release/0.6
Carl Eugen Hoyos 15 years ago
parent 0b7f39c9d4
commit 45fc24a005
  1. 1
      libavcodec/indeo2.c
  2. 1
      libavcodec/loco.c
  3. 1
      libavcodec/qdrw.c
  4. 1
      libavcodec/truemotion2.c
  5. 1
      libavcodec/ulti.c
  6. 1
      libavcodec/wnv1.c
  7. 1
      libavcodec/xl.c

@ -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;
}

Loading…
Cancel
Save