|
@ -845,7 +845,7 @@ char *jprint(cJSON *json,int32_t freeflag) |
|
|
free_json(json); |
|
|
free_json(json); |
|
|
retstr = LP_alloc(strlen(str) + 1); |
|
|
retstr = LP_alloc(strlen(str) + 1); |
|
|
strcpy(retstr,str); |
|
|
strcpy(retstr,str); |
|
|
cJSON_free(str); |
|
|
//cJSON_free(str);
|
|
|
//portable_mutex_unlock(&mutex);
|
|
|
//portable_mutex_unlock(&mutex);
|
|
|
return(retstr); |
|
|
return(retstr); |
|
|
} |
|
|
} |
|
|