aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuoyu2014-10-11 11:50:20 +0800
committerMichael Niedermayer2014-10-11 12:15:26 +0200
commitc44d8d9552f976b02dab45bd2a77a8efba38f38b (patch)
tree104383aacbf349aa02a902debfd57b0d510dc775
parentfba894615d694584057adb0ddb4d609486cad807 (diff)
avutil/lzo: fix resource leak
Signed-off-by: Ruoyu <liangry@ucweb.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/lzo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/lzo.c b/libavutil/lzo.c
index 7b027eeb33..bca10ec3e0 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