avutil/lzo: fix resource leak
Signed-off-by: Ruoyu <liangry@ucweb.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fba894615d
commit
c44d8d9552
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user