diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-03 19:16:11 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-03 20:42:09 -0400 |
commit | 1775f1ebc4a8e9e0e2e4a9af3e97e1408c9cb335 (patch) | |
tree | 2246b64cb4803206b4f05de2cc02ebcfc1b8af8f /src/core/namespace.c | |
parent | 7057bd993110c1eff0cd3a8776902ca66417634e (diff) |
core/namespace: remove invalid check
root cannot be NULL here, because it was allocated with alloca.
CID #1237769.
Diffstat (limited to 'src/core/namespace.c')
-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 f76d3891c3..f86092f6b1 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -341,11 +341,8 @@ fail: unlink(busnode); } - if (root) { - umount(root); - rmdir(root); - } - + umount(root); + rmdir(root); rmdir(temporary_mount); return r; |