diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index c445cdb9a..4e2735196 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -739,6 +739,7 @@ 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(retstr); break; } else if ( time(NULL) > swap->I.expiration )