diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-03 19:17:56 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-03 20:42:09 -0400 |
commit | d267c5aa3d0fe4960165a1e1c00a840eef8b7d00 (patch) | |
tree | a2ff3f3ac25aa74cc28b5afaa580921601861ff4 /src | |
parent | 1775f1ebc4a8e9e0e2e4a9af3e97e1408c9cb335 (diff) |
core/namespace: remove invalid check
dir cannot be NULL here, because it was allocated with alloca.
CID #1237768.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/namespace.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c index f86092f6b1..c2215090a9 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -263,11 +263,8 @@ fail: if (devmqueue) umount(devmqueue); - if (dev) { - umount(dev); - rmdir(dev); - } - + umount(dev); + rmdir(dev); rmdir(temporary_mount); return r; |