aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/loco.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/loco.c
parent0b7f39c9d425db649f14cbc927fbce5cdc20828f (diff)
downloadffmpeg-45fc24a005c170b3fea1c028a49fdb6be61875bd.tar.gz
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/loco.c')
-rw-r--r--libavcodec/loco.c1
1 files changed, 0 insertions, 1 deletions
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;
}