SynopsisSafe version of bfree. Prototype#include "uemf.h" void bfreeSafe(B_ARGS_DEC, void *mp); Parameters
DescriptionThis "safe" version verifies that the pointer is not NULL before doing the free. Return ValueNo return value. Examplechar_t* buf; buf = NULL; fmtAlloc(buf, FNAMSIZE, T("%s %d"), string, integer); ... bfreeSafe(B_L, buf); Stability ClassificationStable. See Also |