summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-10-18 13:22:25 +0200
committerLinus Nordberg <linus@nordu.net>2016-10-18 13:23:06 +0200
commit28037df78160dc05fd56151b7c837eb4709d83c1 (patch)
tree833ca42059b02bf0b0103b6d1307759ebbb8aea2 /list.c
parent6a45e6949917c62aeae74c65cadcaf82df9e135f (diff)
Exit if stringcopy() fails at allocating memory.
Writing to 0 seems unwise to me. Returning NULL will simply move the problem to the callers. I admit that a better fix would be to fix all the callers.
Diffstat (limited to 'list.c')
0 files changed, 0 insertions, 0 deletions