]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix memory leak in TestingEnableCellStatsEvent
authorNick Mathewson <nickm@torproject.org>
Mon, 28 Mar 2016 14:37:22 +0000 (10:37 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 28 Mar 2016 15:12:15 +0000 (11:12 -0400)
commitaddd18172167e549b28efc8cf1132e1b8f9d3972
tree6b910ec4c71be4c4114a16a46249c861ee97c148
parent65db5ae566d463dd682a2f63ddf448d04101dab6
Fix memory leak in TestingEnableCellStatsEvent

Only when we were actually flushing the cell stats to a controller
would we free them.  Thus, they could stay in RAM even after the
circuit was freed (eg if we didn't have any controllers).

Fixes bug 18673; bugfix on 0.2.5.1-alpha.
changes/bug18673 [new file with mode: 0644]
src/or/circuitlist.c
src/or/circuitlist.h
src/or/control.c