We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f871585 commit 3f12417Copy full SHA for 3f12417
NEWS.txt
@@ -31,6 +31,11 @@ New in SVN
31
representable using an Int64, or asDouble() combined with minInt64 and
32
maxInt64 to figure out whether it is approximately representable.
33
34
+* Bug fixes
35
+ - Patch #3539678: Copy constructor does not initialize allocated_ for stringValue
36
+ (contributed by rmongia).
37
+
38
39
40
New in JsonCpp 0.6.0:
41
---------------------
src/lib_json/json_value.cpp
@@ -470,7 +470,10 @@ Value::Value( const Value &other )
470
allocated_ = true;
471
}
472
else
473
+ {
474
value_.string_ = 0;
475
+ allocated_ = false;
476
+ }
477
break;
478
#ifndef JSON_VALUE_USE_INTERNAL_MAP
479
case arrayValue:
0 commit comments