From 64825d3c589cd8742887f30acde8c57eceac2001 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 Aug 2012 23:54:21 +0200 Subject: fix a couple of issues found with llvm-analyze --- src/core/namespace.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/namespace.c') 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, -- cgit v1.2.3-54-g00ecf