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 df3d3f7 commit 4382ad8Copy full SHA for 4382ad8
src/cJSON.c
@@ -89,9 +89,6 @@ cJSON_Result_t cJSON_delGenObj(cJSON_Generic_t GObj)
89
90
cJSON_Result_t cJSON_parseStr(cJSON_Generic_t *GObjPtr, const char *str)
91
{
92
- // Check if GObjPtr is allocated. If so delete old data structure
93
- if (GObjPtr->dataContainer != NULL) cJSON_delGenObj(*GObjPtr);
94
-
95
// Create object stack
96
cJSON_GenericStack_t ObjectStack = GS_Create(CJSON_MAX_DEPTH);
97
0 commit comments