A macro that frees a memory array allocated with new [] using delete[] and resets the pointer that points to the freed memory to NULL. Using this macro prevents a number of potential errors and allows the catching of other errors because dereferencing NULL will almost certainly cause segfaults that are easy to track down.
Definition at line 142 of file phMemory.h. |