tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_free.rst (323B)


      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.