[tor-bugs] #9108 [Tor]: Make circuitbuild.c: global_circuitlist a proper doubly-linked list

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 21 10:12:13 UTC 2013


#9108: Make circuitbuild.c: global_circuitlist a proper doubly-linked list
-------------------------+--------------------------------------------------
 Reporter:  marek        |          Owner:                  
     Type:  enhancement  |         Status:  needs_review    
 Priority:  minor        |      Milestone:  Tor: unspecified
Component:  Tor          |        Version:                  
 Keywords:               |         Parent:                  
   Points:               |   Actualpoints:                  
-------------------------+--------------------------------------------------

Comment(by marek):

 Replying to [comment:3 nickm]:
 > I think this is a good idea.  I'm was confused by moving the remove code
 into circuit_free, but I think it does make sense there.  We should audit
 every caller to circuit_free, of course.

 There are two of those. `429:circuit_close_all_marked` and
 `810:circuit_free_all` and wrapped in FOREACH_SAFE. I'm fairly sure there
 isn't a memory leak there.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9108#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list