Fix #124703: MEM_free/MEM_new mismatch in file browser code
See06be295946. Caused byefa6525bf1.
This commit is contained in:
@@ -70,7 +70,7 @@ void folderlist_pushdir(ListBase *folderlist, const char *dir)
|
||||
}
|
||||
|
||||
/* create next folder element */
|
||||
folder = MEM_new<FolderList>(__func__);
|
||||
folder = MEM_cnew<FolderList>(__func__);
|
||||
folder->foldername = BLI_strdup(dir);
|
||||
|
||||
/* add it to the end of the list */
|
||||
|
||||
Reference in New Issue
Block a user