openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libsmartcols/src/column.c
void scols_unref_column(struct libscols_column* cl)
{
    if (cl && --cl->refcount <= 0)
    {
        DBG(COL, ul_debugobj(cl, "dealloc"));
        list_del(&cl->cl_columns);
        scols_reset_cell(&cl->header);
        free(cl->color);
        free(cl->safechars);
        free(cl->pending_data_buf);
        free(cl);
    }
}
/**
 * scols_unref_column:
 * @cl: a pointer to a struct libscols_column instance
 *
 * Decreases the refcount of @cl. When the count falls to zero, the instance
 * is automatically deallocated.
 */
@cl: a pointer to a struct libscols_column instance

Decreases the refcount of @cl. When the count falls to zero, the instance
is automatically deallocated.
@cl : a pointer to a struct libscols_column instance Decreases the refcount of @cl . When the count falls to zero the instance is automatically deallocated .
void scols_unref_column(struct libscols_column* cl)
{
    if (cl && --cl->refcount <= 0)
    {
        DBG(COL, ul_debugobj(cl, "dealloc"));
        list_del(&cl->cl_columns);
        scols_reset_cell(&cl->header);
        free(cl->color);
        free(cl->safechars);
        free(cl->pending_data_buf);
        free(cl);
    }
}
void scols_unref_column ( struct libscols_column * cl ) { if ( cl && -- cl -> refcount <= 0 ) { DBG ( COL , ul_debugobj ( cl , " " ) ) ; list_del ( & cl -> cl_columns ) ; scols_reset_cell ( & cl -> header ) ; free ( cl -> color ) ; free ( cl -> safechars ) ; free ( cl -> pending_data_buf ) ; free ( cl ) ; } }
scols_unref_column:
 @cl: a pointer to a struct libscols_column instance
scols_unref_column : @cl : a pointer to a struct libscols_column instance