Fix #124703: MEM_free/MEM_new mismatch in file browser code

See 06be295946.
Caused by efa6525bf1.
This commit is contained in:
Hans Goudey
2024-07-15 08:40:25 -04:00
parent ed873e420a
commit 5a293e5cc2

View File

@@ -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 */