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
Mike Perry
Tor
Commits
899bd4f4
Commit
899bd4f4
authored
Jun 29, 2004
by
Roger Dingledine
Browse files
stop leaking options->ContactInfo on hup
svn:r1989
parent
0f69fd99
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/config.c
View file @
899bd4f4
...
...
@@ -193,7 +193,7 @@ static int config_assign(or_options_t *options, struct config_line_t *list) {
config_compare
(
list
,
"BandwidthRate"
,
CONFIG_TYPE_INT
,
&
options
->
BandwidthRate
)
||
config_compare
(
list
,
"BandwidthBurst"
,
CONFIG_TYPE_INT
,
&
options
->
BandwidthBurst
)
||
config_compare
(
list
,
"ContactInfo"
,
CONFIG_TYPE_STRING
,
&
options
->
ContactInfo
)
||
config_compare
(
list
,
"ContactInfo"
,
CONFIG_TYPE_STRING
,
&
options
->
ContactInfo
)
||
config_compare
(
list
,
"DebugLogFile"
,
CONFIG_TYPE_STRING
,
&
options
->
DebugLogFile
)
||
config_compare
(
list
,
"DataDirectory"
,
CONFIG_TYPE_STRING
,
&
options
->
DataDirectory
)
||
...
...
@@ -470,6 +470,7 @@ static int resolve_my_address(or_options_t *options) {
/** Release storage held by <b>options</b> */
static
void
free_options
(
or_options_t
*
options
)
{
config_free_lines
(
options
->
LogOptions
);
tor_free
(
options
->
ContactInfo
);
tor_free
(
options
->
DebugLogFile
);
tor_free
(
options
->
DataDirectory
);
tor_free
(
options
->
RouterFile
);
...
...
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