Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
8a0b7414
Commit
8a0b7414
authored
Oct 16, 2018
by
Nick Mathewson
🐛
Browse files
Add a tor_free() in tor_gencert to fix a coverity warning
parent
b7fbd1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tools/tor-gencert.c
View file @
8a0b7414
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment