aboutsummaryrefslogtreecommitdiff
path: root/src/qt/locale/bitcoin_sr.ts
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-07 09:24:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-12 17:56:55 +0200
commit203a0cfa7cb0d7e9f43ad8488ecaf7ffbf40ddfc (patch)
tree7bb7f6d5284e36246def4b92e5ec6807605ddb6f /src/qt/locale/bitcoin_sr.ts
parent1ed6d499b6bf02a399fb32059caccdea847335b0 (diff)
rpc: Make sure conn object is always cleaned up
Make sure conn object always gets cleaned up by using a `boost::shared_ptr`. This makes valgrind happy - before this commit, one connection object always leaked at shutdown, as well as can avoid other leaks, when for example an exception happens. Also add an explicit Close() to the !ClientAllowed path to make it similar to the normal path (I'm not sure whether it is needed, but it can't hurt). Rebased-By: Wladimir J. van der Laan Rebased-From: 1a44522
Diffstat (limited to 'src/qt/locale/bitcoin_sr.ts')
0 files changed, 0 insertions, 0 deletions