projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bcdcf
)
uxc: don't free the stack
author
Daniel Golle
<daniel@makrotopia.org>
Tue, 12 Oct 2021 22:59:10 +0000
(23:59 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Tue, 12 Oct 2021 23:35:43 +0000
(
00:35
+0100)
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>
uxc.c
patch
|
blob
|
history
diff --git
a/uxc.c
b/uxc.c
index a896d5ff148b6a8c1d4a43b0e751764452dec4ba..b33513f5c33d2fc51855b86eb8b1bbab8ecc4a28 100644
(file)
--- 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;
}