[tor-bugs] #17218 [Tor]: Move most of "circuit_mark_for_close" into "circuit_free" or "circuit_close_all_marked".

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 1 12:49:58 UTC 2015


#17218: Move most of "circuit_mark_for_close" into "circuit_free" or
"circuit_close_all_marked".
-------------------------+------------------------------------
 Reporter:  nickm        |          Owner:
     Type:  enhancement  |         Status:  reopened
 Priority:  Medium       |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Major        |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:  #16764       |         Points:
  Sponsor:  SponsorS     |
-------------------------+------------------------------------

Comment (by cypherpunks):

 The commit implementing this ticket
 (8b4e5b7ee902fb7fa07767410a18433d752c7aef) introduces a memory leak by not
 freeing the memory held by the new circuit list when tor tries to free its
 resources. The attached patch fixes the issue.

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


More information about the tor-bugs mailing list