Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Fix memleak in TorController [rework] #7637
Conversation
laanwj
added
P2P
Needs backport
labels
Mar 3, 2016
|
utACK. |
laanwj
added
the
Resource usage
label
Mar 3, 2016
|
ut ACK |
laanwj
merged commit e219503
into
bitcoin:master
Mar 11, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
added a commit
that referenced
this pull request
Mar 11, 2016
paveljanik
commented on src/torcontrol.cpp in e219503
Mar 11, 2016
|
This removal generated new warning:
|
added a commit
to MarcoFalke/bitcoin
that referenced
this pull request
Apr 27, 2016
|
Backported as part of #7938. Removing label 'Needs backport'. |
MarcoFalke
removed
the
Needs backport
label
Jun 9, 2016
added a commit
to zander/bitcoinclassic
that referenced
this pull request
Jun 16, 2016
added a commit
to faircoin/faircoin
that referenced
this pull request
Jun 28, 2016
added a commit
to sickpig/BitcoinUnlimited
that referenced
this pull request
Nov 14, 2016
str4d
referenced this pull request
in zcash/zcash
Mar 24, 2017
Merged
Tor ephemeral hidden services #2177
added a commit
to zcash/zcash
that referenced
this pull request
Mar 26, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
laanwj commentedMar 3, 2016
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.