void valvula_ctx_free2 ( ValvulaCtx ctx,
const char *  who 
)

Releases the memory allocated by the provided ValvulaCtx.

Parameters
ctxA reference to the context to deallocate.
whoAn string that identifies this ref. Useful for debuging.

References valvula_hash_destroy(), valvula_mutex_destroy(), valvula_mutex_lock(), and valvula_mutex_unlock().

Referenced by valvula_ctx_free(), valvula_ctx_unref2(), and valvula_exit_ctx().