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
David Goulet
Tor
Commits
0d219959
Commit
0d219959
authored
Nov 11, 2007
by
Roger Dingledine
Browse files
another likelier candidate for mike's leak
svn:r12470
parent
2b2d1110
Changes
1
Show whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
0d219959
...
...
@@ -312,8 +312,8 @@ dns_free_all(void)
tor_free
(
resolv_conf_fname
);
}
/** Remove every cached_resolve whose <b>expire</b> time is before
<b>now</b>
* from the cache. */
/** Remove every cached_resolve whose <b>expire</b> time is before
or
*
equal to <b>now</b>
from the cache. */
static
void
purge_expired_resolves
(
time_t
now
)
{
...
...
@@ -385,6 +385,7 @@ purge_expired_resolves(time_t now)
/* This should be in state DONE. Make sure it's not in the cache. */
cached_resolve_t
*
tmp
=
HT_FIND
(
cache_map
,
&
cache_root
,
resolve
);
tor_assert
(
tmp
!=
resolve
);
/* XXX020 shouldn't we be freeing 'resolve' here? */
}
}
...
...
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