Browse Source

avutil/lzo: fix resource leak

Signed-off-by: Ruoyu <liangry@ucweb.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Ruoyu Michael Niedermayer 10 years ago
parent
commit
c44d8d9552
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavutil/lzo.c

+ 1
- 0
libavutil/lzo.c View File

@@ -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…
Cancel
Save