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


Ignore:
File:
1 edited

Legend:

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

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