From f051b4532846a38586eb7dddb974958e363c11af Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 9 Sep 2021 17:30:15 +1000 Subject: Only free it once. --- src/sledjchisl/sledjchisl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index b983448..9ed7ba1 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8687,7 +8687,6 @@ Copy correct config/config.ini to there. if (! qfile_exist(tmp)) { if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, true)) C("Unable to create path %s", tmp); - free(tmp); if (shellMeFail("cp %s/current/example/var/www/html/* %s/var/www/html", scRoot, scRoot)) C("Unable to copy files to %s/var/www/html", scRoot); } free(tmp); -- cgit v1.1