ext/iodine/fio.c
/** Frees a channel (reference counting). */
Frees a channel (reference counting).
Frees a channel ( reference counting ) .
static void fio_channel_free(channel_s *ch) {
  if (!ch)
    return;
  if (fio_atomic_sub(&ch->ref, 1))
    return;
  free(ch);
}
static void fio_channel_free ( channel_s * ch ) { if ( ! ch ) return ; if ( fio_atomic_sub ( & ch -> ref , 1 ) ) return ; free ( ch ) ; }
Frees a channel (reference counting).
Frees a channel ( reference counting ) .