void timerlist_free(QEMUTimerList *timer_list)

{

    assert(!timerlist_has_timers(timer_list));

    if (timer_list->clock) {

        QLIST_REMOVE(timer_list, list);

    }

    qemu_mutex_destroy(&timer_list->active_timers_lock);

    g_free(timer_list);

}

void timerlist_free(QEMUTimerList *timer_list)

{

    assert(!timerlist_has_timers(timer_list));

    if (timer_list->clock) {

        QLIST_REMOVE(timer_list, list);

    }

    qemu_mutex_destroy(&timer_list->active_timers_lock);

    g_free(timer_list);

}

void FUNC_0(QEMUTimerList *VAR_0)

{

    assert(!timerlist_has_timers(VAR_0));

    if (VAR_0->clock) {

        QLIST_REMOVE(VAR_0, list);

    }

    qemu_mutex_destroy(&VAR_0->active_timers_lock);

    g_free(VAR_0);

}

void FUNC_0(QEMUTimerList *VAR_0)
{ assert(!timerlist_has_timers(VAR_0)); if (VAR_0->clock) { QLIST_REMOVE(VAR_0, list); } qemu_mutex_destroy(&VAR_0->active_timers_lock); g_free(VAR_0); }