diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-18 12:29:24 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-12-18 19:26:21 -0500 |
commit | f1acf85a36f4c32d69511fe1bfa12f66e28fa80d (patch) | |
tree | 83c05bd89ea3368b49dd5a838fa2b88baeeb7134 /src/core/load-fragment.c | |
parent | f08fa3be8d0b90ff0e778c7f2457711e9800ae95 (diff) |
core: make exec_command_free_list return NULL
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 358d36beb6..e8dfa1a511 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -538,8 +538,7 @@ int config_parse_exec(const char *unit, if (isempty(rvalue)) { /* An empty assignment resets the list */ - exec_command_free_list(*e); - *e = NULL; + *e = exec_command_free_list(*e); return 0; } |