From: Daniel Golle Date: Tue, 12 Oct 2021 22:59:10 +0000 (+0100) Subject: uxc: don't free the stack X-Git-Url: http://git.openwrt.org/project/luci.git;lede-17.01?a=commitdiff_plain;h=6398e0541a693df8a267b9ee77b9e96cbaf97abd;p=project%2Fprocd.git 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 --- 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; }