Changeset b893cd6 in mainline for uspace/srv/audio/hound/connection.c


Ignore:
Timestamp:
2013-04-03T19:01:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aab8e3d3
Parents:
a94de68
Message:

hound: add null checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/connection.c

    ra94de68 rb893cd6  
    5454                list_append(&conn->sink_link, &sink->connections);
    5555                audio_sink_set_format(sink, audio_source_format(source));
    56                 source->connection_change(source, true);
    57                 sink->connection_change(sink, true);
     56                if (source->connection_change)
     57                        source->connection_change(source, true);
     58                if (sink->connection_change)
     59                        sink->connection_change(sink, true);
    5860        }
    5961        return conn;
Note: See TracChangeset for help on using the changeset viewer.