void valvula_ctx_unref ( ValvulaCtx **  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 ValvulaCtx instance is deallocated and the callers reference is nullified.

References valvula_ctx_unref2().