PR FREEIF
From MDC
< NSPR API Reference < Memory Management Operations
Conditionally frees allocated memory.
Contents |
[edit] Syntax
#include <prmem.h> void PR_FREEIF(_ptr);
[edit] Parameter
_ptr- The address of memory to be returned to the heap.
[edit] Returns
Nothing.
[edit] Description
This macro returns memory to the heap when _ptr is not NULL. If _ptr is NULL, the macro has no effect.