check new/delete in cpp files