Changeset f9d0a86 in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2017-11-14T12:24:42Z (6 years ago)
Author:
Aearsis <Hlavaty.Ondrej@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6cad776
Parents:
887c9de (diff), d2d142a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 01:04:19)
git-committer:
Aearsis <Hlavaty.Ondrej@…> (2017-11-14 12:24:42)
Message:

Merge tag '0.7.1'

The merge wasn't clean, because of changes in build system. The most
significant change was partial revert of usbhc callback refactoring,
which now does not take usb transfer batch, but few named fields again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r887c9de rf9d0a86  
    9797                if (call->buffer)
    9898                        free(call->buffer);
     99                if (call->caller_phone)
     100                        kobject_put(call->caller_phone->kobject);
    99101                slab_free(call_slab, call);
    100102        }
     
    346348
    347349        call->caller_phone = phone;
     350        kobject_add_ref(phone->kobject);
    348351
    349352        if (preforget) {
     
    826829{
    827830        ipc_phone_hangup(cap->kobject->phone);
     831        kobject_t *kobj = cap_unpublish(cap->task, cap->handle,
     832            KOBJECT_TYPE_PHONE);
     833        kobject_put(kobj);
     834        cap_free(cap->task, cap->handle);
    828835        return true;
    829836}
Note: See TracChangeset for help on using the changeset viewer.