void vortex_ctx_unref ( VortexCtx **  ctx)

Decrease reference count and nullify caller's pointer in the case the count reaches 0.

Parameters
ctxThe context to decrement reference count. In the case 0 is reached the VortexCtx instance is deallocated and the callers reference is nullified.

References vortex_ctx_unref2().

Referenced by vortex_channel_free().