core: drop unnecessary free

As reset_arguments() frees the string.

Follow-up for 919ea64f69.
This commit is contained in:
Yu Watanabe
2022-06-22 16:20:30 +09:00
parent 127b26f3d8
commit e83c4d178b

View File

@@ -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;
}