1
0
Fork 0
firefox/docs/nspr/reference/pr_free.rst
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

33 lines
323 B
ReStructuredText

PR_Free
=======
Frees allocated memory in the heap.
Syntax
------
.. code::
#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.