vere: strdup dir_c

This commit is contained in:
Jōshin 2021-07-08 14:01:13 +00:00
parent e3eaf0499e
commit 6ff58f41a3
No known key found for this signature in database
GPG Key ID: A8BE5A9A521639D0

View File

@ -686,7 +686,7 @@ main(c3_i argc,
exit(1);
}
c3_free(u3_Host.dir_c);
u3_Host.dir_c = ".";
u3_Host.dir_c = strdup(".");
}
u3_ve_sysopt();