mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
fixing free const char** filenamesTable
This commit is contained in:
parent
5f9e868ee8
commit
5249085e11
@ -305,7 +305,7 @@ UTIL_createFileNamesTable(const char** filenames, char* buf, size_t tableSize){
|
||||
void UTIL_freeFileNamesTable(FileNamesTable* table) {
|
||||
if(table) {
|
||||
if(table->fileNames) {
|
||||
free(table->fileNames);
|
||||
free((void*)table->fileNames);
|
||||
}
|
||||
|
||||
if(table && table->buf) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user