X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fmachine-pool.c;h=e7671a3c5ecfbb46868fd7e8023c1dc111454f63;hp=3eafb9443a1cdec322122580aac6a076b4f2b134;hb=132764a2236fd6a4acb0e8d698f135c186677ad4;hpb=26166c88e0b47b83972f32b5057ecbffe06bf904 diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c index 3eafb9443..e7671a3c5 100644 --- a/src/shared/machine-pool.c +++ b/src/shared/machine-pool.c @@ -151,8 +151,7 @@ static int setup_machine_raw(uint64_t size, sd_bus_error *error) { return r; fail: - if (tmp) - unlink_noerrno(tmp); + unlink_noerrno(tmp); if (pid > 1) kill_and_sigcont(pid, SIGKILL);