Changeset feeac0d in mainline for uspace/srv/ns
- Timestamp:
- 2013-09-10T16:32:35Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4982d87
- Parents:
- e8d6ce2
- Location:
- uspace/srv/ns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/service.c
re8d6ce2 rfeeac0d 106 106 { 107 107 loop: 108 list_foreach(pending_conn, cur) { 109 pending_conn_t *pr = list_get_instance(cur, pending_conn_t, link); 110 108 list_foreach(pending_conn, link, pending_conn_t, pr) { 111 109 ht_link_t *link = hash_table_find(&service_hash_table, &pr->service); 112 110 if (!link) … … 117 115 pr->arg3, 0, IPC_FF_NONE); 118 116 119 list_remove( cur);117 list_remove(&pr->link); 120 118 free(pr); 121 119 goto loop; -
uspace/srv/ns/task.c
re8d6ce2 rfeeac0d 179 179 180 180 loop: 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) { 184 182 ht_link_t *link = hash_table_find(&task_hash_table, &pr->id); 185 183 if (!link) … … 198 196 199 197 hash_table_remove(&task_hash_table, &pr->id); 200 list_remove( cur);198 list_remove(&pr->link); 201 199 free(pr); 202 200 goto loop;
Note:
See TracChangeset
for help on using the changeset viewer.
