Commit 8a0b7414 authored by Nick Mathewson's avatar Nick Mathewson 🐛
Browse files

Add a tor_free() in tor_gencert to fix a coverity warning

parent b7fbd1f3
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment