Changeset 7cf8522 in mainline for kernel/generic/src/ipc/ipc.c
- Timestamp:
- 2017-10-28T08:55:10Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15d9fe6
- Parents:
- 3dab10ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r3dab10ae r7cf8522 829 829 { 830 830 ipc_phone_hangup(cap->kobject->phone); 831 kobject_t *kobj = cap_unpublish_locked(cap->task, cap->handle, 832 KOBJECT_TYPE_PHONE); 833 kobject_put(kobj); 834 cap_free_locked(cap->task, cap->handle); 831 835 return true; 832 836 } … … 835 839 { 836 840 ipc_irq_unsubscribe(&TASK->answerbox, cap->handle); 841 kobject_t *kobj = cap_unpublish_locked(cap->task, cap->handle, 842 KOBJECT_TYPE_IRQ); 843 kobject_put(kobj); 844 cap_free_locked(cap->task, cap->handle); 837 845 return true; 838 846 }
Note:
See TracChangeset
for help on using the changeset viewer.