[tor-bugs] #11618 [Tor]: There should be no memory leaks in the unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 26 15:33:54 UTC 2014


#11618: There should be no memory leaks in the unit tests
-----------------------------+------------------------------------
 Reporter:  nickm            |          Owner:
     Type:  defect           |         Status:  new
 Priority:  normal           |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor              |        Version:  Tor: 0.2.5.4-alpha
 Keywords:  tor-relay tests  |  Actual Points:
Parent ID:                   |         Points:
-----------------------------+------------------------------------
 When arma ran valgrind on the unit tests the other day, he found over 1100
 memory leaks.

 {{{
 21:41 < nickm> actually, the insight I'm getting is tht these are mostly
 in test
 s that other people wrote.
 21:41 < nickm> My conclusions are:
 21:41 < nickm> 1) Wow, a lot of people have been writing tests!  That's
 awesome!
 21:42 < armadev> :)
 21:42 < nickm> 2) I need to add valgrind to my acceptance tests for test
 patches
 ; I have apparently been sloppy about seeing leaks in test code.
 }}}

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


More information about the tor-bugs mailing list