From 825290036c78af64db500fabeba8cda8c455c155 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 15 Feb 2018 21:17:18 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_swap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index 0486c1b8b..c445cdb9a 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -739,8 +739,6 @@ int32_t LP_swapwait(struct basilisk_swap *swap,uint32_t requestid,uint32_t quote if ( jstr(retjson,"status") != 0 && strcmp(jstr(retjson,"status"),"finished") == 0 ) { swap->I.finished = (uint32_t)time(NULL); - free_json(retjson); - free(retstr); break; } else if ( time(NULL) > swap->I.expiration )