When I compile my program in release mode I get the following error message when the program starts:

Debug Assertion Failed!
Program.....
File: dbgheap.c
Line 1044

Expression _CrtIsValidHeapPointer(pUserData)

Whats the meaning of this error and what is my fault in the program so that the program will run?