mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
orconn_identity_map was another static variable that started
out NULL and didn't change until it needed to change. svn:r5578
This commit is contained in:
@@ -76,8 +76,10 @@ connection_or_clear_identity_map(void)
|
||||
}
|
||||
}
|
||||
|
||||
digestmap_free(orconn_identity_map, NULL);
|
||||
orconn_identity_map = NULL;
|
||||
if (orconn_identity_map) {
|
||||
digestmap_free(orconn_identity_map, NULL);
|
||||
orconn_identity_map = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/** Change conn->identity_digest to digest, and add conn into
|
||||
|
||||
Reference in New Issue
Block a user