avutil/lzo: fix resource leak

Signed-off-by: Ruoyu <liangry@ucweb.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/89/head
Ruoyu 11 years ago committed by Michael Niedermayer
parent fba894615d
commit c44d8d9552
  1. 1
      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

Loading…
Cancel
Save