[FFmpeg-cvslog] avutil/lzo: fix resource leak
Ruoyu
git at videolan.org
Sat Oct 11 12:27:51 CEST 2014
ffmpeg | branch: master | Ruoyu <liangry at ucweb.com> | Sat Oct 11 11:50:20 2014 +0800| [c44d8d9552f976b02dab45bd2a77a8efba38f38b] | committer: Michael Niedermayer
avutil/lzo: fix resource leak
Signed-off-by: Ruoyu <liangry at ucweb.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c44d8d9552f976b02dab45bd2a77a8efba38f38b
---
libavutil/lzo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/lzo.c b/libavutil/lzo.c
index 7b027ee..bca10ec 100644
--- a/libavutil/lzo.c
+++ b/libavutil/lzo.c
@@ -254,6 +254,7 @@ STOP_TIMER("lzod")
av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n");
else
av_log(NULL, AV_LOG_ERROR, "decompression OK\n");
+ fclose(in);
return 0;
}
#endif
More information about the ffmpeg-cvslog
mailing list