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

Free

« XPCOM API Reference

Summary

The Free function frees a block of memory that was allocated by XPCOM's memory manager.

 static void Free(
   void* aPtr
 );

Parameters

aPtr
[in] The address of the memory block to free. This may be nsnull, in which case nothing happens.

Document Tags and Contributors

 Contributors to this page: Sheppy, Pmash
 Last updated by: Sheppy,