Changeset 2ba4d45 in mainline


Ignore:
Timestamp:
2013-03-24T16:15:27Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6e5f4e
Parents:
ec81221
Message:

libhound: Disconnect if context registration fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/src/client.c

    rec81221 r2ba4d45  
    9696                    new_context->session, new_context->name, record);
    9797                if (hound_context_id_err(new_context->id) != EOK) {
     98                        hound_service_disconnect(new_context->session);
    9899                        free(new_context->name);
    99100                        free(new_context);
     
    190191        assert(hound);
    191192        assert(target);
     193        //TODO handle all-targets
    192194        if (hound->record) {
    193195                return hound_service_disconnect_source_sink(
Note: See TracChangeset for help on using the changeset viewer.