libsolc: Overhauls memory management.

This commit is contained in:
Christian Parpart
2019-12-11 15:17:39 +00:00
committed by Alex Beregszaszi
parent 69b06a456c
commit 8682af2216
6 changed files with 91 additions and 27 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ void FuzzerUtil::runCompiler(string const& _input, bool _quiet)
cout << "Output JSON: " << outputString << endl;
// This should be safe given the above copies the output.
solidity_free();
solidity_reset();
Json::Value output;
if (!jsonParseStrict(outputString, output))