PDA

View Full Version : Memory leak



link19
08-21-2001, 11:50 AM
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?