Visit Mozilla.org

PR Free

From MDC


< NSPR API Reference < Memory Management Operations

Frees allocated memory in the heap.

Contents

[edit] Syntax

#include <prmem.h>

void PR_Free(void *ptr);

[edit] Parameter

ptr
A pointer to the memory to be freed.

[edit] Returns

Nothing.

[edit] Description

This function frees the memory addressed by ptr in the heap.