Changeset 63d6ff9 in mainline for uspace/srv/audio/hound/hound.c


Ignore:
Timestamp:
2012-07-13T04:52:05Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3fced0
Parents:
d93a5a6f
Message:

hound: Fix few leaks and memory corruption bugs.

File:
1 edited

Legend:

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

    rd93a5a6f r63d6ff9  
    5555                    audio_ ## type ## _list_instance(it); \
    5656                if (str_cmp(name, dev->name) == 0) { \
    57                         log_debug("%s with name %s is already present", \
     57                        log_debug("%s with name '%s' is already present", \
    5858                            #type, name); \
    59                         return NULL; \
     59                        return dev; \
    6060                } \
    6161        } \
Note: See TracChangeset for help on using the changeset viewer.