repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1885489 - Part 9: Add SnapshotIterator::readObject(). r=iain
[gecko.git]
/
docs
/
nspr
/
reference
/
pr_free.rst
blob
577955d205f12c7a2eb9cfd3314bd4dd73372895
1
PR_Free
2
=======
3
4
Frees allocated memory in the heap.
5
6
7
Syntax
8
------
9
10
.. code::
11
12
#include <prmem.h>
13
14
void PR_Free(void *ptr);
15
16
17
Parameter
18
~~~~~~~~~
19
20
``ptr``
21
A pointer to the memory to be freed.
22
23
24
Returns
25
~~~~~~~
26
27
Nothing.
28
29
30
Description
31
-----------
32
33
This function frees the memory addressed by ``ptr`` in the heap.