aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_converter
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2014-12-06 22:53:27 +0000
committerwarptangent <warptangent@inbox.com>2015-01-04 19:39:41 -0800
commit98bdadcad7a276f2196cfebfe2148d36f65872d1 (patch)
tree6643baedeaebdecf181cbd62311d2b0cc1f67a21 /src/blockchain_converter
parentcheckpoints: add consts where appropriate (diff)
downloadmonero-98bdadcad7a276f2196cfebfe2148d36f65872d1.tar.xz
blockchain_converter: delete blockchain on succesful exit
While the dtor implementation does not actually do anything, other paths do delete it, and the dtor might do someting later.
Diffstat (limited to 'src/blockchain_converter')
-rw-r--r--src/blockchain_converter/blockchain_converter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_converter/blockchain_converter.cpp b/src/blockchain_converter/blockchain_converter.cpp
index a2b3a375f..4653cf66c 100644
--- a/src/blockchain_converter/blockchain_converter.cpp
+++ b/src/blockchain_converter/blockchain_converter.cpp
@@ -99,5 +99,6 @@ int main(int argc, char* argv[])
}
}
+ delete blockchain;
return 0;
}