aboutsummaryrefslogtreecommitdiffstats
path: root/src/permission.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/permission.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/permission.c b/src/permission.c
index 15a336a08..dcd8a4791 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -21,6 +21,7 @@
#include "conf.h"
#include "list.h"
#include "log.h"
+#include "utils.h"
#include <string.h>
@@ -103,7 +104,7 @@ void initPermissions(void)
password = temp;
- permission = malloc(sizeof(int));
+ permission = xmalloc(sizeof(int));
*permission =
parsePermissions(strtok_r(NULL, "", &cp2));