since these are never touched except when they are to be freed again -
at which point the pointer to the block is an input to the free() function.
-.. _pg_figure_3:
+.. _figure_malloc_heap:
-**Figure 3. Example of a malloc heap and malloc elements within the malloc library**
+.. figure:: img/malloc_heap.*
-.. image4_png has been renamed
+ Example of a malloc heap and malloc elements within the malloc library
-|malloc_heap|
Structure: malloc_elem
^^^^^^^^^^^^^^^^^^^^^^
and if so, they are merged with the current elements.
This means that we can never have two free memory blocks adjacent to one another,
they are always merged into a single block.
-
-.. |malloc_heap| image:: img/malloc_heap.*