Changes in kernel/generic/src/ipc/ipcrsc.c [90efa3b:2f7134b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipcrsc.c
r90efa3b r2f7134b 46 46 { 47 47 phone_t *phone = (phone_t *) arg; 48 if (phone->hangup_call)49 kobject_put(phone->hangup_call->kobject);50 48 slab_free(phone_cache, phone); 51 49 } … … 81 79 return ENOMEM; 82 80 } 83 call_t *hcall = ipc_call_alloc();84 if (!hcall) {85 cap_free(TASK, handle);86 slab_free(phone_cache, phone);87 free(kobj);88 return ENOMEM;89 }90 81 91 82 ipc_phone_init(phone, task); 92 83 phone->state = IPC_PHONE_CONNECTING; 93 phone->hangup_call = hcall;94 84 95 85 kobject_initialize(kobj, KOBJECT_TYPE_PHONE, phone,
Note:
See TracChangeset
for help on using the changeset viewer.