Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PR_Free

Frees allocated memory in the heap.

Syntax

#include <prmem.h>

void PR_Free(void *ptr);

Parameter

ptr
A pointer to the memory to be freed.

Returns

Nothing.

Description

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

Document Tags and Contributors

 Contributors to this page: teoli, Mgjbot, Shimono, Sheppy
 Last updated by: teoli,