Changeset 022d72ff in mainline
- Timestamp:
- 2015-06-03T19:22:33Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 09024119
- Parents:
- eab9689
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/conctmeto.c
reab9689 r022d72ff 74 74 static int answer_process(call_t *answer) 75 75 { 76 if (IPC_GET_RETVAL(answer->data) && ((int) answer->priv >= 0)) { 77 /* 78 * Something went wrong and there is a phone that needs to be 79 * deallocated. 80 */ 81 phone_dealloc(answer->priv); 76 int newphid = (int) answer->priv; 77 78 if (IPC_GET_RETVAL(answer->data)) { 79 if (newphid >= 0) { 80 /* 81 * The phone was indeed allocated and now needs 82 * to be deallocated. 83 */ 84 phone_dealloc(newphid); 85 } 82 86 } else { 83 IPC_SET_ARG5(answer->data, answer->priv);87 IPC_SET_ARG5(answer->data, newphid); 84 88 } 85 89
Note:
See TracChangeset
for help on using the changeset viewer.