commit 12895cc3387a403903953e4de8618a18e949ac87
parent 38015141462c83aa88c6ca7e7b713e61453138e8
Author: hhvn <dev@hhvn.uk>
Date: Sat, 5 Jun 2021 22:47:32 +0100
main.c: remove free() of args
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/main.c b/main.c
@@ -127,15 +127,12 @@ main(int argc, char *argv[]) {
ARGBEGIN {
case 'h':
- free(host);
host = EARGF(usage());
break;
case 'p':
- free(port);
port = EARGF(usage());
break;
case 'f':
- free(planfile);
planfile = EARGF(usage());
break;
} ARGEND;