Yep, I am quite sure I freeimage all the stuff that I load. I have created a quite extensive debugging system to track this down, by logging all load/create image and free image commands, here's an extract of the logfile:
So far I haven't seen a single image that wasn't freed properly, but I am still happy to hear suggestions, no matter how primitive they may be... I may have missed something silly =)
---> LoadUnloadMenuFX(options,load) + LoadAnimImage: L_GfxTiles Width=80 Height=80 StartFrame=0 Frames=2 (MemRef#:170795768) + LoadImage: MenuGfxTop Width=800 Height=80 (MemRef#:11313088) + CreateImage: L_GfxFlag Width=800 Height=600 (MemRef#:170794264) + CreateImage: MenuGfxStrips Width=2 Height=600 Frames=400 (MemRef#:170795816) - FreeImage(L_GfxTiles) - FreeImage(L_GfxFlag)
So far I haven't seen a single image that wasn't freed properly, but I am still happy to hear suggestions, no matter how primitive they may be... I may have missed something silly =)