Twinklebear / LPCGame

Working on a C++ tile based 'engine' using SDL
MIT License
18 stars 1 forks source link

Memory leaks when changing states #3

Open Twinklebear opened 12 years ago

Twinklebear commented 12 years ago

I don't think I saw this occur on linux for some reason, but I'll double check. It definitely leaks on windows, when changing states, memory doesn't seem to get freed

Twinklebear commented 12 years ago

Got some memory stuff freeing correctly I think, but for some reason, if you go Menu -> Play/Editor -> Menu it allocates ~9MB of memory, I'm not sure why. It drops a bit in mem usage from Menu -> Play, but jumps up when returning to Menu. Need to investigate further