aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/script_invalid.json
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-05-07 09:24:44 +0200
committerlangerhans <[email protected]>2014-06-29 15:38:47 +0200
commit5d60b1829be98ea9b79e36e4c09ae1eaf37c2729 (patch)
treeb0a2a54feb280b88aa556f73cf6d5fa552534046 /src/test/data/script_invalid.json
parentrpc: pass errors from async_accept (diff)
downloaddiscoin-5d60b1829be98ea9b79e36e4c09ae1eaf37c2729.tar.xz
discoin-5d60b1829be98ea9b79e36e4c09ae1eaf37c2729.zip
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 'src/test/data/script_invalid.json')
0 files changed, 0 insertions, 0 deletions