Changeset d7c5fc0 in mainline


Ignore:
Timestamp:
2019-08-03T08:26:50Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
3f7e1f24
Parents:
c8891c8
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-04-22 17:52:05)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 08:26:50)
Message:

libconf: Fix allocation check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/conf/src/configuration.c

    rc8891c8 rd7c5fc0  
    118118{
    119119        char *my_string = str_dup(string);
    120         if (my_string) {
     120        if (my_string == NULL) {
    121121                return false;
    122122        }
Note: See TracChangeset for help on using the changeset viewer.