aboutsummaryrefslogtreecommitdiff
path: root/contrib
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 09:30:46 +0200
commit1a445225f6638839dec7cfc8822f1218c74c974f (patch)
treef962af26337c8d0c7578fc765dfab8e1a3a69d4a /contrib
parent0a0cd345520382bd726fef50c62864715b03f164 (diff)
downloadbitcoin-1a445225f6638839dec7cfc8822f1218c74c974f.tar.xz
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).
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions