diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index ba2f46a74..8f113d985 100644 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -416,6 +416,7 @@ char *SuperNET_hexconv(char *hexmsg) if ( (retstr= calloc(1,n*2+1)) != 0 ) init_hexbytes_noT(retstr,bits,n); else retstr = hexmsg; + free_json(json); } //else printf("SuperNET_hexconv cant parse.(%s)\n",hexmsg); free(bits); } diff --git a/iguana/SuperNET_category.c b/iguana/SuperNET_category.c index 4508c30ea..b7ad51938 100644 --- a/iguana/SuperNET_category.c +++ b/iguana/SuperNET_category.c @@ -93,7 +93,7 @@ void category_posthexmsg(struct supernet_info *myinfo,bits256 categoryhash,bits2 m->t = now, m->len = len; decode_hex(m->msg,m->len,hexmsg); queue_enqueue("categoryQ",Q,&m->DL,0); - char str[65]; printf("POST HEXMSG.(%s) -> %s.%llx\n",hexmsg,bits256_str(str,categoryhash),(long long)subhash.txid); + //char str[65]; printf("POST HEXMSG.(%s) -> %s.%llx\n",hexmsg,bits256_str(str,categoryhash),(long long)subhash.txid); return; } char str[65]; printf("no subscription for category.(%s) %llx\n",bits256_str(str,categoryhash),(long long)subhash.txid); diff --git a/iguana/SuperNET_hexmsg.c b/iguana/SuperNET_hexmsg.c index 7f895f8f5..abb153fd9 100644 --- a/iguana/SuperNET_hexmsg.c +++ b/iguana/SuperNET_hexmsg.c @@ -70,5 +70,5 @@ void SuperNET_hexmsgadd(struct supernet_info *myinfo,bits256 categoryhash,bits25 strcat(str,str2); } category_posthexmsg(myinfo,categoryhash,subhash,hexmsg,now); - printf("HEXMSG.(%s).%llx -> %s\n",hexmsg,(long long)subhash.txid,str); + //printf("HEXMSG.(%s).%llx -> %s\n",hexmsg,(long long)subhash.txid,str); }