Changeset b1e6269 in mainline for kernel/generic/src/ipc/ops/concttome.c
- Timestamp:
- 2012-08-24T22:27:44Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 20282ef3
- Parents:
- 13dbaa8c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/concttome.c
r13dbaa8c rb1e6269 55 55 } 56 56 57 static void answer_cleanup(call_t *answer, ipc_data_t *olddata) 58 { 59 int phoneid = (int) IPC_GET_ARG5(*olddata); 60 61 phone_dealloc(phoneid); 62 } 63 57 64 static int answer_preprocess(call_t *answer, ipc_data_t *olddata) 58 65 { … … 61 68 if (IPC_GET_RETVAL(answer->data) != EOK) { 62 69 /* The connection was not accepted */ 63 int phoneid = (int) IPC_GET_ARG5(*olddata); 64 65 phone_dealloc(phoneid); 70 answer_cleanup(answer, olddata); 66 71 } else { 67 72 /* The connection was accepted */ … … 77 82 sysipc_ops_t ipc_m_connect_to_me_ops = { 78 83 .request_preprocess = null_request_preprocess, 84 .request_forget = null_request_forget, 79 85 .request_process = request_process, 86 .answer_cleanup = answer_cleanup, 80 87 .answer_preprocess = answer_preprocess, 81 88 .answer_process = null_answer_process,
Note:
See TracChangeset
for help on using the changeset viewer.