mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Add a tor_free() in tor_gencert to fix a coverity warning
This commit is contained in:
parent
b7fbd1f329
commit
8a0b741487
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user