diff options
Diffstat (limited to 'src/tools/tor-gencert.c')
-rw-r--r-- | src/tools/tor-gencert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c index a498c205b7..238564125a 100644 --- a/src/tools/tor-gencert.c +++ b/src/tools/tor-gencert.c @@ -190,6 +190,7 @@ parse_commandline(int argc, char **argv) fprintf(stderr, "%s must resolve to an IPv4 address", addr_arg); return 1; } + tor_free(address); address = tor_strdup(fmt_addrport(&addr, port)); } else if (!strcmp(argv[i], "--create-identity-key")) { make_new_id = 1; |