chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a couple of issues found with llvm-analyze
[elogind.git]
/
src
/
core
/
namespace.c
diff --git
a/src/core/namespace.c
b/src/core/namespace.c
index 4bef15fdf570941a91e1e5fd18a6c8c2cd334346..ce10c790742c92bd35caf07bea1532d2b14479eb 100644
(file)
--- 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,