1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-14 19:24:13 +03:00

core/main: preserve return value under valgrind

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-27 22:09:25 +02:00
parent 96d4d0244b
commit 27fe58b77b

View File

@ -2478,7 +2478,7 @@ finish:
* in become_shutdown() so normally we cannot free them yet. */ * in become_shutdown() so normally we cannot free them yet. */
watchdog_free_device(); watchdog_free_device();
arg_watchdog_device = mfree(arg_watchdog_device); arg_watchdog_device = mfree(arg_watchdog_device);
return 0; return retval;
} }
#endif #endif