summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-08-10 14:27:23 -0400
committerNick Mathewson <nickm@torproject.org>2015-08-10 15:00:17 -0400
commit8afbc154f794835633559f81a89232f1bccc1d8e (patch)
tree82860a8dcdc8f96b4687908ed5af061bd9846a19 /changes
parentdef5883bbb744727d797558da07c490f6578aff9 (diff)
downloadtor-8afbc154f794835633559f81a89232f1bccc1d8e.tar.gz
tor-8afbc154f794835633559f81a89232f1bccc1d8e.zip
Remove a 9-function strongly connected component of tor's callgraph.
microdesc_free_() called get_microdesc_cache(), which had the fun side-effect of potentially reloading the whole cache from disk. Replace it with a variant that doesn't.
Diffstat (limited to 'changes')
-rw-r--r--changes/microdesc_cycle4
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/microdesc_cycle b/changes/microdesc_cycle
new file mode 100644
index 0000000000..fddc2be609
--- /dev/null
+++ b/changes/microdesc_cycle
@@ -0,0 +1,4 @@
+ o Code simplification and refactoring:
+ - Simplify the microdesc_free() implementation so that it no longer
+ appears (to code analysis tools) to potentially invoke a huge suite
+ of other microdesc functions.