Free memory previously allocated by the Malloc method.
PRUint32 Free (void * aPtr)=0;
The method has the following parameter:
aPtr |
A pointer to the memory to be freed. |
NS_OK on success, non-zero error code on failure.
Use this method in the same way as its C or C++ counterpart to free previously allocated memory.