summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-10-12 23:59:10 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-10-13 00:35:43 +0100
commit6398e0541a693df8a267b9ee77b9e96cbaf97abd (patch)
tree41226f07c8c067aaf03a68c7e43815d710f522fb
parent97bcdcf107ddf36cbbec5cafe85f6440476d0418 (diff)
downloadprocd-6398e0541a693df8a267b9ee77b9e96cbaf97abd.tar.gz
uxc: don't free the stack
It's generally a bad idea to free variables which are stored on stack. Better don't do that ;) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--uxc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/uxc.c b/uxc.c
index a896d5f..b33513f 100644
--- a/uxc.c
+++ b/uxc.c
@@ -590,9 +590,6 @@ static int uxc_create(char *name, bool immediately)
ret = EIO;
}
- free(jailname);
- free(path);
-
return ret;
}