projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
properly search for lua includes and the library directory
[project/uci.git]
/
list.c
diff --git
a/list.c
b/list.c
index
c4b84e2
..
0ddf409
100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-358,7
+358,8
@@
error:
UCI_THROW(ctx, UCI_ERR_INVAL);
done:
free(section);
- ptr->section = e->name;
+ if (e)
+ ptr->section = e->name;
return e;
}