diff options
Diffstat (limited to 'src/libsystemd-basic/src/env-util.c')
-rw-r--r-- | src/libsystemd-basic/src/env-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-basic/src/env-util.c b/src/libsystemd-basic/src/env-util.c index 7516bfbba8..0238b53067 100644 --- a/src/libsystemd-basic/src/env-util.c +++ b/src/libsystemd-basic/src/env-util.c @@ -544,8 +544,7 @@ char *replace_env(const char *format, char **env) { return k; fail: - free(r); - return NULL; + return mfree(r); } char **replace_env_argv(char **argv, char **env) { |