Browse Source

Test

etomic
jl777 7 years ago
parent
commit
f0845127e9
  1. 2
      crypto777/cJSON.c

2
crypto777/cJSON.c

@ -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);
} }

Loading…
Cancel
Save