From 6398e0541a693df8a267b9ee77b9e96cbaf97abd Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 12 Oct 2021 23:59:10 +0100 Subject: [PATCH] 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 --- uxc.c | 3 --- 1 file changed, 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; } -- 2.30.2