Support allocation of array of pointers with operator new in checkmemoryleak.cpp