Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Method: Free

Purpose

Free memory previously allocated by the Malloc method.

Syntax

PRUint32 Free (void * aPtr)=0;

Parameters

The method has the following parameter:

aPtr

A pointer to the memory to be freed. 

Returns

NS_OK on success, non-zero error code on failure.

Description

Use this method in the same way as its C or C++ counterpart to free previously allocated memory.