summaryrefslogtreecommitdiff
path: root/libavcodec
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
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')
-rw-r--r--libavcodec/indeo2.c1
-rw-r--r--libavcodec/loco.c1
-rw-r--r--libavcodec/qdrw.c1
-rw-r--r--libavcodec/truemotion2.c1
-rw-r--r--libavcodec/ulti.c1
-rw-r--r--libavcodec/wnv1.c1
-rw-r--r--libavcodec/xl.c1
7 files changed, 0 insertions, 7 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;
}
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index 9a01810c44..57fba82cf0 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -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;
}
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
index ae8a71a8a1..f0c0350c23 100644
--- a/libavcodec/qdrw.c
+++ b/libavcodec/qdrw.c
@@ -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;
}
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index d73c88bd44..44b89e70d1 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -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;
}
diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c
index a5aec1a3a9..12dc6ac14f 100644
--- a/libavcodec/ulti.c
+++ b/libavcodec/ulti.c
@@ -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;
}
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index 9f13fd5b76..9a5a77fe78 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -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;
}
diff --git a/libavcodec/xl.c b/libavcodec/xl.c
index 277e92a678..2a5110cb98 100644
--- a/libavcodec/xl.c
+++ b/libavcodec/xl.c
@@ -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;
}