From fe66e78b96ff3b8b167f02aacbc7c0721b893611 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 13 Jan 2018 22:18:04 -0800 Subject: lz4io: fixed minor ressource leak --- programs/lz4io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/lz4io.c b/programs/lz4io.c index 2cf0c1c..3502038 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -459,6 +459,7 @@ static void* LZ4IO_createDict(const char* dictFilename, size_t *dictSize) { memcpy(dictBuf + circularBufSize - dictStart, circularBuf, dictLen - (circularBufSize - dictStart)); } + fclose(dictFile); free(circularBuf); return dictBuf; -- cgit v0.12