void ga_channel_free(GAChannel *c)

{

    if (c->method == GA_CHANNEL_UNIX_LISTEN

        && c->listen_channel) {

        ga_channel_listen_close(c);

    }

    if (c->client_channel) {

        ga_channel_client_close(c);

    }

    g_free(c);

}

void ga_channel_free(GAChannel *c)

{

    if (c->method == GA_CHANNEL_UNIX_LISTEN

        && c->listen_channel) {

        ga_channel_listen_close(c);

    }

    if (c->client_channel) {

        ga_channel_client_close(c);

    }

    g_free(c);

}

void FUNC_0(GAChannel *VAR_0)

{

    if (VAR_0->method == GA_CHANNEL_UNIX_LISTEN

        && VAR_0->listen_channel) {

        ga_channel_listen_close(VAR_0);

    }

    if (VAR_0->client_channel) {

        ga_channel_client_close(VAR_0);

    }

    g_free(VAR_0);

}

void FUNC_0(GAChannel *VAR_0)
{ if (VAR_0->method == GA_CHANNEL_UNIX_LISTEN
&& VAR_0->listen_channel) { ga_channel_listen_close(VAR_0); } if (VAR_0->client_channel) { ga_channel_client_close(VAR_0); } g_free(VAR_0); }