From 65084f4a950cd4922ab1edec7c9d5d3002ef3551 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 21 Jun 2016 15:24:01 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 02f60de99..50cd1679a 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -1089,14 +1089,13 @@ void basilisk_msgprocess(struct supernet_info *myinfo,void *_addr,uint32_t sende basilisk_sendback(myinfo,CMD,symbol,remoteaddr,basilisktag,retstr); if ( retstr != 0 ) free(retstr); + break; } //else printf("services null return\n"); } else printf("non-relay got unexpected.(%s)\n",type); } } + free_json(valsobj); } - free_json(valsobj); - if ( retstr != 0 ) - free(retstr); if ( coin != 0 ) coin->basilisk_busy = 0; myinfo->basilisk_busy = 0;