Пример #1
0
static void eloop_remove_timeout(struct eloop_timeout *timeout)
{
	dl_list_del(&timeout->list);
	wpa_trace_remove_ref(timeout, eloop, timeout->eloop_data);
	wpa_trace_remove_ref(timeout, user, timeout->user_data);
	os_free(timeout);
}
Пример #2
0
static void eloop_trace_sock_remove_ref(struct eloop_sock_table *table) {
    int i;
    if (table == NULL || table->table == NULL)
        return;
    for (i = 0; i < table->count; i++) {
        wpa_trace_remove_ref(&table->table[i], eloop,
                table->table[i].eloop_data);
        wpa_trace_remove_ref(&table->table[i], user,
                table->table[i].user_data);
    }
}