Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use malloc/free for file list items (#311)
For Quake installs with lots of mods containing large pak files the changes in b37e57f ended up fragmenting the zone buffer due to a repeated pattern of temporarily allocating larger buffers for the pak files, followed by a small persistent allocation for the mod info, followed by pak file deallocation. Switching the file list items from zone allocation to general-purpose malloc avoids this pathological case.
- Loading branch information