chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
namespace: avoid posible use of uninitialized variable
[elogind.git]
/
src
/
core
/
namespace.c
diff --git
a/src/core/namespace.c
b/src/core/namespace.c
index eaaebdd64403734c02be7a55974a50827b8a79bf..f76d3891c387678cb4bac5f4b75a2588341b9d39 100644
(file)
--- a/
src/core/namespace.c
+++ b/
src/core/namespace.c
@@
-278,7
+278,7
@@
static int mount_kdbus(BindMount *m) {
char temporary_mount[] = "/tmp/kdbus-dev-XXXXXX";
_cleanup_free_ char *basepath = NULL;
_cleanup_umask_ mode_t u;
- char *busnode, *root;
+ char *busnode
= NULL
, *root;
struct stat st;
int r;