[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs