Ignore:
Timestamp:
2013-04-03T19:01:53Z (11 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/audio_source.c

    ra94de68 rb893cd6  
    5959        list_initialize(&source->connections);
    6060        source->name = str_dup(name);
     61        if (!source->name)
     62                return ENOMEM;
    6163        source->private_data = data;
    6264        source->connection_change = connection_change;
Note: See TracChangeset for help on using the changeset viewer.