fixing free const char** filenamesTable

dev
Ahmed Abdellah 2019-10-24 20:54:40 +01:00
parent 5f9e868ee8
commit 5249085e11
1 changed files with 1 additions and 1 deletions

View File

@ -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) {