Destruction

Once you have finished with a fz_context (either your original one, or a `cloned' one) you can destroy it using fz_drop_context.


\begin{lstlisting}
/*
fz_drop_context: Free a context and its global state.
\pa...
...not throw exceptions.
*/
void fz_drop_context(fz_context *ctx);
\end{lstlisting}

For example:


\begin{lstlisting}
fz_drop_context(ctx);
\end{lstlisting}