diff options
author | onefang | 2021-09-09 17:30:15 +1000 |
---|---|---|
committer | onefang | 2021-09-09 17:30:15 +1000 |
commit | f051b4532846a38586eb7dddb974958e363c11af (patch) | |
tree | 57f6250053b87cdc5da167799ca68c7c8548827c | |
parent | Oops, should actually provide the arguments. lol (diff) | |
download | opensim-SC-f051b4532846a38586eb7dddb974958e363c11af.zip opensim-SC-f051b4532846a38586eb7dddb974958e363c11af.tar.gz opensim-SC-f051b4532846a38586eb7dddb974958e363c11af.tar.bz2 opensim-SC-f051b4532846a38586eb7dddb974958e363c11af.tar.xz |
Only free it once.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 1 |
1 files changed, 0 insertions, 1 deletions
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. | |||
8687 | if (! qfile_exist(tmp)) | 8687 | if (! qfile_exist(tmp)) |
8688 | { | 8688 | { |
8689 | if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, true)) C("Unable to create path %s", tmp); | 8689 | if (! qfile_mkdir(tmp, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH, true)) C("Unable to create path %s", tmp); |
8690 | free(tmp); | ||
8691 | 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); | 8690 | 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); |
8692 | } | 8691 | } |
8693 | free(tmp); | 8692 | free(tmp); |