mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
core/namespace: remove invalid check
dir cannot be NULL here, because it was allocated with alloca. CID #1237768.
This commit is contained in:
parent
1775f1ebc4
commit
d267c5aa3d
@ -263,11 +263,8 @@ fail:
|
||||
if (devmqueue)
|
||||
umount(devmqueue);
|
||||
|
||||
if (dev) {
|
||||
umount(dev);
|
||||
rmdir(dev);
|
||||
}
|
||||
|
||||
umount(dev);
|
||||
rmdir(dev);
|
||||
rmdir(temporary_mount);
|
||||
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user