void myqtt_ctx_free2 ( MyQttCtx ctx,
const char *  who 
)

Releases the memory allocated by the provided MyQttCtx.

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

References myqtt_cond_destroy(), myqtt_hash_destroy(), myqtt_mutex_destroy(), myqtt_mutex_lock(), and myqtt_mutex_unlock().

Referenced by myqtt_ctx_free(), myqtt_ctx_unref2(), and myqtt_exit_ctx().