mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
We do not call malloc/free any more
This commit is contained in:
@@ -539,16 +539,3 @@ void obj_Setup(unsigned int nbFiles)
|
||||
{
|
||||
nodes.resize(nbFiles);
|
||||
}
|
||||
|
||||
static void freeSection(Section *section)
|
||||
{
|
||||
for (Section *next; section; section = next) {
|
||||
next = section->nextu;
|
||||
delete section;
|
||||
};
|
||||
}
|
||||
|
||||
void obj_Cleanup()
|
||||
{
|
||||
sect_ForEach(freeSection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user