All images not accounted for...

BlitzPlus Forums/BlitzPlus Programming/All images not accounted for...

Help! In my game, I have a routine that deletes all images one by one:
If image<>0 then FreeImage image : image=0

The problem is that I don't seem to have deleted all of the images, and I still have some seemingly left anaccounted for taking up video memory. How am I supposed to find all of these? Any ideas?