Changes in uspace/srv/ns/task.c [166a1f57:feeac0d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r166a1f57 rfeeac0d  
    179179       
    180180loop:
    181         list_foreach(pending_wait, cur) {
    182                 pending_wait_t *pr = list_get_instance(cur, pending_wait_t, link);
    183                
     181        list_foreach(pending_wait, link, pending_wait_t, pr) {
    184182                ht_link_t *link = hash_table_find(&task_hash_table, &pr->id);
    185183                if (!link)
     
    198196               
    199197                hash_table_remove(&task_hash_table, &pr->id);
    200                 list_remove(cur);
     198                list_remove(&pr->link);
    201199                free(pr);
    202200                goto loop;
Note: See TracChangeset for help on using the changeset viewer.