1
Vote

possible memory leak?

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.

No files are attached

comments

jzink wrote Feb 6 at 9:23 PM

Hello,

Thank you for the report. I will check into this and see if I can figure out where the leak is being introduced, as well as if the issue exists in the other applications as well. I'll post an update here as soon as I find something out.

- Jason