bfreeSafe | basic | EMF
## Synopsis Safe version of bfree. ## Prototype
     #include "uemf.h"

     void bfreeSafe(B_ARGS_DEC, void *mp);
## Parameters
B_ARGS_DEC | Caller's source file name and line number. Really two arguments.
mp | Pointer to the memory that is being freed.
## Description This "safe" version verifies that the pointer is not NULL before doing the free. ## Return Value No return value. ## Example
    char_t* buf;

    buf = NULL;
    fmtAlloc(buf, FNAMSIZE, T("%s %d"), string, integer);

    ...

    bfreeSafe(B_L, buf);
## Stability Classification Stable. ## ## ## See Also balloc, bfree