summaryrefslogtreecommitdiff
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-10-16 15:16:59 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-10-16 15:16:59 +0000
commit45fc24a005c170b3fea1c028a49fdb6be61875bd (patch)
treee17e8bd3cf154b5e1f64898eea24307e24de4fef /libavcodec/indeo2.c
parent0b7f39c9d425db649f14cbc927fbce5cdc20828f (diff)
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
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r--libavcodec/indeo2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index 87d1c909ea..52aede19fe 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.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;
}