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/audio_source.h

    ra94de68 rb893cd6  
    6060static inline audio_source_t * audio_source_list_instance(link_t *l)
    6161{
    62         return list_get_instance(l, audio_source_t, link);
     62        return l ? list_get_instance(l, audio_source_t, link) : NULL;
    6363}
    6464
Note: See TracChangeset for help on using the changeset viewer.