Remove json string free logic
This commit is contained in:
@@ -55,7 +55,7 @@ const char *PatientInformationForm::getCurrentPatientJsonString(bool empty) {
|
||||
cJSON_AddItemToObject(root, "ReferringPhysicianName",cJSON_CreateString("XX"));
|
||||
cJSON_AddItemToObject(root, "InstituteName",cJSON_CreateString("EQ9"));
|
||||
cJSON_AddItemToObject(root, "InstituteAddress",cJSON_CreateString("HZ"));
|
||||
delete jsonstr;
|
||||
// delete jsonstr;
|
||||
jsonstr = cJSON_Print(root);
|
||||
cJSON_Delete(root);
|
||||
return jsonstr;
|
||||
|
||||
Reference in New Issue
Block a user