fixing free const char** filenamesTable
This commit is contained in:
1 parent
5f9e868ee8
commit
5249085e11
1 file changed
+1
-1
+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