core/namespace: remove invalid check
root cannot be NULL here, because it was allocated with alloca. CID #1237769.
This commit is contained in:
@@ -341,11 +341,8 @@ fail:
|
||||
unlink(busnode);
|
||||
}
|
||||
|
||||
if (root) {
|
||||
umount(root);
|
||||
rmdir(root);
|
||||
}
|
||||
|
||||
umount(root);
|
||||
rmdir(root);
|
||||
rmdir(temporary_mount);
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user