Skip to content
  • Nick Mathewson's avatar
    Set 'routerlist' global to NULL before freeing it. · a9379d67
    Nick Mathewson authored
    There is other code that uses this value, and some of it is
    apparently reachable from inside router_dir_info_changed(), which
    routerlist_free() apparently calls.  (ouch!)  This is a minimal fix
    to try to resolve the issue without causing other problems.
    
    Fixes bug 31003. I'm calling this a bugfix on 0.1.2.2-alpha, where
    the call to router_dir_info_changed() was added to routerlist_free().
    a9379d67