Memory leak

Hi,
Im using MFC. In a view i have, im loading a bitmap, and i call glDeleteTextures in OnDestroy() of the view. However, i have a big ass memory leak. BoundsChecker indicates that its in the function tkDIBImageLoadAW()and file tkdib.c. Im using the method from NeHe’s tutorial on Texture Mapping, 6 i think.
Any1 with ideas on why im getting a leak?