mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
fix a minor memory leak if we start up as a relay but don't
have any files in the cached-status/ directory svn:r17671
This commit is contained in:
parent
d597b23c42
commit
7b5be147ee
@ -131,6 +131,7 @@ router_reload_v2_networkstatus(void)
|
||||
} else if (!smartlist_len(entries) && maybe_delete) {
|
||||
rmdir(filename);
|
||||
tor_free(filename);
|
||||
smartlist_free(entries);
|
||||
return 0;
|
||||
}
|
||||
tor_free(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user