aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-03 13:28:07 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-04-27 22:34:48 +0200
commit66d54085598205de2182c04739cc418e2d15543c (patch)
tree944bb251c37109de7676cdf5ba2be11529a158ec /contrib
parent1c3d38bde7be181a87c7c73e26c079e285a6fe96 (diff)
Fix memleak in TorController [rework]
It looks like, TorController::disconnected_cb(TorControlConnection& conn) gets called multiple times which results in multiple event_new(). Avoid this by creating the event only once in the constructore, and deleting it only once in the destructor (thanks to Cory Fields for the idea). Replaces the fix by Jonas Schnelli in #7610, see discussion there. Github-Pull: #7637 Rebased-From: e2195037116f47b11b66452351dba4fe606423a2
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions