summaryrefslogtreecommitdiff
path: root/src/core/namespace.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-08 23:54:21 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-08 23:54:21 +0200
commit64825d3c589cd8742887f30acde8c57eceac2001 (patch)
tree880c0f250aff9efb4aa2c2a892ad29479a987462 /src/core/namespace.c
parentc269cec334f940d82146f70d69125b1caef08baa (diff)
fix a couple of issues found with llvm-analyze
Diffstat (limited to 'src/core/namespace.c')
-rw-r--r--src/core/namespace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/namespace.c b/src/core/namespace.c
index 4bef15fdf5..ce10c79074 100644
--- a/src/core/namespace.c
+++ b/src/core/namespace.c
@@ -312,6 +312,8 @@ int setup_namespace(
goto undo_mounts;
}
+ free(paths);
+
t = old_root_dir + sizeof(root_dir) - 1;
if (umount2(t, MNT_DETACH) < 0)
/* At this point it's too late to turn anything back,