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/line.c
void scols_unref_line(struct libscols_line* ln)
{
    if (ln && --ln->refcount <= 0)
    {
        DBG(CELL, ul_debugobj(ln, "dealloc"));
        list_del(&ln->ln_lines);
        list_del(&ln->ln_children);
        scols_line_free_cells(ln);
        free(ln->color);
        free(ln);
        return;
    }
}
/**
 * scols_unref_line:
 * @ln: a pointer to a struct libscols_line instance
 *
 * Decreases the refcount of @ln. When the count falls to zero, the instance
 * is automatically deallocated.
 */
@ln: a pointer to a struct libscols_line instance

Decreases the refcount of @ln. When the count falls to zero, the instance
is automatically deallocated.
@ln : a pointer to a struct libscols_line instance Decreases the refcount of @ln . When the count falls to zero the instance is automatically deallocated .
void scols_unref_line(struct libscols_line* ln)
{
    if (ln && --ln->refcount <= 0)
    {
        DBG(CELL, ul_debugobj(ln, "dealloc"));
        list_del(&ln->ln_lines);
        list_del(&ln->ln_children);
        scols_line_free_cells(ln);
        free(ln->color);
        free(ln);
        return;
    }
}
void scols_unref_line ( struct libscols_line * ln ) { if ( ln && -- ln -> refcount <= 0 ) { DBG ( CELL , ul_debugobj ( ln , " " ) ) ; list_del ( & ln -> ln_lines ) ; list_del ( & ln -> ln_children ) ; scols_line_free_cells ( ln ) ; free ( ln -> color ) ; free ( ln ) ; return ; } }
scols_unref_line:
 @ln: a pointer to a struct libscols_line instance
scols_unref_line : @ln : a pointer to a struct libscols_line instance