Commit c44d8d95 authored by Ruoyu's avatar Ruoyu Committed by Michael Niedermayer

avutil/lzo: fix resource leak

Signed-off-by: 's avatarRuoyu <liangry@ucweb.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fba89461
...@@ -254,6 +254,7 @@ STOP_TIMER("lzod") ...@@ -254,6 +254,7 @@ STOP_TIMER("lzod")
av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n"); av_log(NULL, AV_LOG_ERROR, "decompression incorrect\n");
else else
av_log(NULL, AV_LOG_ERROR, "decompression OK\n"); av_log(NULL, AV_LOG_ERROR, "decompression OK\n");
fclose(in);
return 0; return 0;
} }
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment