get rid of useless M$ macros for safe memory deallocation

should have done this earlier...