[Ffmpeg-cvslog] r6351 - trunk/libavcodec/jpeg_ls.c
kostya
subversion
Wed Sep 27 06:37:58 CEST 2006
Author: kostya
Date: Wed Sep 27 06:37:57 2006
New Revision: 6351
Modified:
trunk/libavcodec/jpeg_ls.c
Log:
free memory before return
Modified: trunk/libavcodec/jpeg_ls.c
==============================================================================
--- trunk/libavcodec/jpeg_ls.c (original)
+++ trunk/libavcodec/jpeg_ls.c Wed Sep 27 06:37:57 2006
@@ -459,6 +459,8 @@
}
} else if(ilv == 2) { /* sample interleaving */
av_log(s->avctx, AV_LOG_ERROR, "Sample interleaved images are not supported.\n");
+ av_free(state);
+ av_free(zero);
return -1;
}
More information about the ffmpeg-cvslog
mailing list