static void vnc_client_cache_addr(VncState *client)

{

    Error *err = NULL;



    client->info = g_malloc0(sizeof(*client->info));

    client->info->base = g_malloc0(sizeof(*client->info->base));

    vnc_init_basic_info_from_remote_addr(client->csock, client->info->base,

                                         &err);

    if (err) {

        qapi_free_VncClientInfo(client->info);

        client->info = NULL;

        error_free(err);

    }

}

static void vnc_client_cache_addr(VncState *client)

{

    Error *err = NULL;



    client->info = g_malloc0(sizeof(*client->info));

    client->info->base = g_malloc0(sizeof(*client->info->base));

    vnc_init_basic_info_from_remote_addr(client->csock, client->info->base,

                                         &err);

    if (err) {

        qapi_free_VncClientInfo(client->info);

        client->info = NULL;

        error_free(err);

    }

}

static void FUNC_0(VncState *VAR_0)

{

    Error *err = NULL;



    VAR_0->info = g_malloc0(sizeof(*VAR_0->info));

    VAR_0->info->base = g_malloc0(sizeof(*VAR_0->info->base));

    vnc_init_basic_info_from_remote_addr(VAR_0->csock, VAR_0->info->base,

                                         &err);

    if (err) {

        qapi_free_VncClientInfo(VAR_0->info);

        VAR_0->info = NULL;

        error_free(err);

    }

}

static void FUNC_0(VncState *VAR_0)
{ Error *err = NULL; VAR_0->info = g_malloc0(sizeof(*VAR_0->info)); VAR_0->info->base = g_malloc0(sizeof(*VAR_0->info->base)); vnc_init_basic_info_from_remote_addr(VAR_0->csock, VAR_0->info->base,
&err); if (err) { qapi_free_VncClientInfo(VAR_0->info); VAR_0->info = NULL; error_free(err); } }