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:
Roger Dingledine
2005-12-14 01:02:35 +00:00
parent c9f6e6b0a0
commit 86d69218ef
+4 -2
View File
@@ -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