Changeset 0f5546a in mainline


Ignore:
Timestamp:
2020-07-05T21:00:33Z (4 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
a58727c
Parents:
346b3c23
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-04-22 17:52:05)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-07-05 21:00:33)
Message:

libconf: Fix allocation check

File:
1 edited

Legend:

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

    r346b3c23 r0f5546a  
    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.