static void free_test_data(test_data *data)

{

    AcpiSdtTable *temp;

    int i;



    g_free(data->rsdt_tables_addr);



    for (i = 0; i < data->tables->len; ++i) {

        temp = &g_array_index(data->tables, AcpiSdtTable, i);

        g_free(temp->aml);

        if (temp->aml_file &&

            !temp->tmp_files_retain &&

            g_strstr_len(temp->aml_file, -1, "aml-")) {

            unlink(temp->aml_file);

        }

        g_free(temp->aml_file);

        g_free(temp->asl);

        if (temp->asl_file &&

            !temp->tmp_files_retain) {

            unlink(temp->asl_file);

        }

        g_free(temp->asl_file);

    }



    g_array_free(data->tables, false);

}

static void free_test_data(test_data *data)

{

    AcpiSdtTable *temp;

    int i;



    g_free(data->rsdt_tables_addr);



    for (i = 0; i < data->tables->len; ++i) {

        temp = &g_array_index(data->tables, AcpiSdtTable, i);

        g_free(temp->aml);

        if (temp->aml_file &&

            !temp->tmp_files_retain &&

            g_strstr_len(temp->aml_file, -1, "aml-")) {

            unlink(temp->aml_file);

        }

        g_free(temp->aml_file);

        g_free(temp->asl);

        if (temp->asl_file &&

            !temp->tmp_files_retain) {

            unlink(temp->asl_file);

        }

        g_free(temp->asl_file);

    }



    g_array_free(data->tables, false);

}

    g_array_free(data->tables, false);
static void FUNC_0(test_data *VAR_0)

{

    AcpiSdtTable *temp;

    int VAR_1;



    g_free(VAR_0->rsdt_tables_addr);



    for (VAR_1 = 0; VAR_1 < VAR_0->tables->len; ++VAR_1) {

        temp = &g_array_index(VAR_0->tables, AcpiSdtTable, VAR_1);

        g_free(temp->aml);

        if (temp->aml_file &&

            !temp->tmp_files_retain &&

            g_strstr_len(temp->aml_file, -1, "aml-")) {

            unlink(temp->aml_file);

        }

        g_free(temp->aml_file);

        g_free(temp->asl);

        if (temp->asl_file &&

            !temp->tmp_files_retain) {

            unlink(temp->asl_file);

        }

        g_free(temp->asl_file);

    }



    g_array_free(VAR_0->tables, false);

}

static void FUNC_0(test_data *VAR_0)
{ AcpiSdtTable *temp; int VAR_1; g_free(VAR_0->rsdt_tables_addr); for (VAR_1 = 0; VAR_1 < VAR_0->tables->len; ++VAR_1) { temp = &g_array_index(VAR_0->tables, AcpiSdtTable, VAR_1); g_free(temp->aml); if (temp->aml_file &&
!temp->tmp_files_retain &&
g_strstr_len(temp->aml_file, -1, "aml-")) { unlink(temp->aml_file); } g_free(temp->aml_file); g_free(temp->asl); if (temp->asl_file &&
!temp->tmp_files_retain) { unlink(temp->asl_file); } g_free(temp->asl_file); } g_array_free(VAR_0->tables, false); }