Browse Source

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>
Daniel Golle 2 years ago
parent
commit
6398e0541a
1 changed files with 0 additions and 3 deletions
  1. 0 3
      uxc.c

+ 0 - 3
uxc.c

@@ -590,9 +590,6 @@ static int uxc_create(char *name, bool immediately)
 		ret = EIO;
 	}
 
-	free(jailname);
-	free(path);
-
 	return ret;
 }