lz4io: fixed minor ressource leak
This commit is contained in:
parent
52a76ff682
commit
fe66e78b96
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user