Visit Mozilla.org

NPN MemFree

From MDC

« Gecko Plugin API Reference « Plug-in Side Plug-in API

Contents

[edit] Summary

Deallocates a block of allocated memory.

[edit] Syntax

#include <npapi.h>
 
void NPN_MemFree (void* ptr);

[edit] Parameters

The function has the following parameters:

ptr
Block of memory previously allocated using NPN_MemAlloc.

[edit] Description

NPN_MemFree deallocates a block of memory that was allocated using NPN_MemAlloc only. NPN_MemFree does not free memory allocated by any other means.

[edit] See Also

NPN_MemAlloc