fixing free const char** filenamesTable
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…
Reference in New Issue