I am just learning how to use drmemory and am getting error below
Code:
INVALID HEAP ARGUMENT: allocated with malloc, freed with operator delete
I am guessing that is undefined in C++ and can lead to run-time issues is this correct?

Tim S.