src/stringlist.c
changeset 845 d4bb3516e01c
parent 843 b1695eef237b
child 895 79a4cc341524
     1.1 --- a/src/stringlist.c	Tue Jul 12 14:06:12 2016 +0200
     1.2 +++ b/src/stringlist.c	Tue Jul 12 14:26:50 2016 +0200
     1.3 @@ -54,6 +54,8 @@
     1.4      )
     1.5  {  
     1.6      assert(value);
     1.7 +    if (value == NULL)
     1.8 +        return NULL;
     1.9  
    1.10      // empty list (no nodes)
    1.11      if (stringlist == NULL)