bfreeSafe | basic | EMF |
Safe version of bfree
void bfreeSafe(B_ARGS_DEC, void *mp);
B_ARGS_DEC | Caller's source file name and line number. Really two arguments. |
mp | Pointer to the memory that is being freed |
This "safe" version just checks the pointer is not NULL before doing the free.
No return value
char_t* buf; buf = NULL; gsnprintf(buf, FNAMSIZE, T("%s %d"), string, integer); ... bfreeSafe(B_L, buf);