diff options
-rw-r--r-- | src/core/basetypes/MCJSONParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/basetypes/MCJSONParser.cpp b/src/core/basetypes/MCJSONParser.cpp index 31699345..cfddbf9e 100644 --- a/src/core/basetypes/MCJSONParser.cpp +++ b/src/core/basetypes/MCJSONParser.cpp @@ -587,7 +587,7 @@ bool JSONParser::parseFloat() } else { mPosition += endptr - str; - mResult = Value::valueWithDoubleValue(value); + mResult = Value::valueWithDoubleValue(value)->retain(); } pool->release(); |