From 1fa3fb66106dff67f5e71f76d1cd213b2d6f191a Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 20 Apr 2016 01:23:16 -0500 Subject: [PATCH] test --- iguana/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iguana/main.c b/iguana/main.c index f3ca7a965..d394cbf6b 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -313,10 +313,9 @@ char *SuperNET_processJSON(struct supernet_info *myinfo,cJSON *json,char *remote jadd64bits(retjson,"tag",tag); } retstr = jprint(retjson,1); + free(retjsonstr);//,strlen(retjsonstr)+1); //printf("retstr.(%s) retjsonstr.%p retjson.%p\n",retstr,retjsonstr,retjson); - } - else retstr = retjsonstr; - free(retjsonstr); + } else retstr = retjsonstr; } else retstr = retjsonstr; } free(jsonstr);