core: clean up config_parse_exec_input() a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Oct 2017 18:06:42 +0000 (20:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Nov 2017 10:13:44 +0000 (11:13 +0100)
commit9bd6a50e90427dd120d0c9495b50fda2f72887b6
tree32127c3bd0345b0c7507f8fce3717cbce64ad0a7
parent7fa0dcb6e3b45932fbbe8e9f3d7c437f366e6f5c
core: clean up config_parse_exec_input() a bit

Mostly coding style fixes, but most importantly, initialize
c->std_input only after we know the free_and_strdup() invocation
succeeded, so that we don't leave half-initialized fields around on
failure.
src/core/load-fragment.c