fixing free const char** filenamesTable
This commit is contained in:
+1
-1
@@ -305,7 +305,7 @@ UTIL_createFileNamesTable(const char** filenames, char* buf, size_t tableSize){
|
|||||||
void UTIL_freeFileNamesTable(FileNamesTable* table) {
|
void UTIL_freeFileNamesTable(FileNamesTable* table) {
|
||||||
if(table) {
|
if(table) {
|
||||||
if(table->fileNames) {
|
if(table->fileNames) {
|
||||||
free(table->fileNames);
|
free((void*)table->fileNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(table && table->buf) {
|
if(table && table->buf) {
|
||||||
|
|||||||
Reference in New Issue
Block a user