From: Yu Watanabe Date: Wed, 22 Jun 2022 07:20:30 +0000 (+0900) Subject: core: drop unnecessary free X-Git-Tag: v252-rc1~779^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e83c4d178b585df0287f00aecd2a7b5c3b0c140e;p=thirdparty%2Fsystemd.git core: drop unnecessary free As reset_arguments() frees the string. Follow-up for 919ea64f69f710840c1bc93f0f7cb7c51aae45d0. --- diff --git a/src/core/main.c b/src/core/main.c index 18ba2b063c9..b796dc8c2a0 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -3007,7 +3007,6 @@ finish: /* Cleanup watchdog_device strings for valgrind. We need them * in become_shutdown() so normally we cannot free them yet. */ watchdog_free_device(); - arg_watchdog_device = mfree(arg_watchdog_device); reset_arguments(); return retval; }