Changeset 0c2d9bb in mainline for uspace/srv/ns/task.c


Ignore:
Timestamp:
2013-12-25T22:54:29Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b51cf2c
Parents:
f7a33de (diff), ac36aed (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 edited

Legend:

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

    rf7a33de r0c2d9bb  
    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.