void string_output_visitor_cleanup(StringOutputVisitor *sov)

{

    if (sov->string) {

        g_string_free(sov->string, true);

    }



    g_list_foreach(sov->ranges, free_range, NULL);

    g_list_free(sov->ranges);

    g_free(sov);

}

void string_output_visitor_cleanup(StringOutputVisitor *sov)

{

    if (sov->string) {

        g_string_free(sov->string, true);

    }



    g_list_foreach(sov->ranges, free_range, NULL);

    g_list_free(sov->ranges);

    g_free(sov);

}

void FUNC_0(StringOutputVisitor *VAR_0)

{

    if (VAR_0->string) {

        g_string_free(VAR_0->string, true);

    }



    g_list_foreach(VAR_0->ranges, free_range, NULL);

    g_list_free(VAR_0->ranges);

    g_free(VAR_0);

}

void FUNC_0(StringOutputVisitor *VAR_0)
{ if (VAR_0->string) { g_string_free(VAR_0->string, true); } g_list_foreach(VAR_0->ranges, free_range, NULL); g_list_free(VAR_0->ranges); g_free(VAR_0); }