When using the Everything-SDK in my program, Deleaker reported a memory-leak for the
_Everything_cs critical section setup in _Everything_Initialize().
Since this is never deleted, I patched Everything.c into this:
Code: Select all
void EVERYTHINGAPI Everything_CleanUp(void)
{
Everything_Reset();
DeleteCriticalSection(&_Everything_cs);
_Everything_Initialized = 0;
}
Not sure if this is correct thing to do.
But, the leak report in Deleaker vanished. Comments?