IGRAPH_FINALLY_FREE

Function IGRAPH_FINALLY_FREE 

Source
pub unsafe extern "C" fn IGRAPH_FINALLY_FREE()
Expand description

\function IGRAPH_FINALLY_FREE \brief Deallocates objects registered at the current level.

Calls the destroy function for all objects in the current level of the stack of temporarily allocated objects, i.e. up to the nearest mark set by IGRAPH_FINALLY_ENTER(). This function must only be called from an error handler. It is \em not appropriate to use it instead of destroying each unneeded object of a function, as it destroys the temporary objects of the caller function (and so on) as well.