description
when
#if defined(DEBUG) | defined(_DEBUG)
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif
was added to the basic compute shader example the output detected memory leaks:
"Detected memory leaks!
Dumping objects ->
{752} normal block at 0x0497A798, 44 bytes long.
Data: <0O > 30 4F 12 01 01 00 00 00 FF FF FF FF FF FF FF FF
{552} normal block at 0x0497A528, 44 bytes long.
Data: <0O > 30 4F 12 01 FF FF FF FF FF FF FF FF FF FF FF FF
{533} normal block at 0x003CDBC8, 28 bytes long.
Data: < ~ D> 1C 7E 12 01 00 00 00 00 00 00 00 00 00 00 20 44
Object dump complete."
I am not sure if this is only for the compute shader example or not. Also, sorry if this post is a duplicate/in the wrong thread.