From 6cf6360c1315751c398535c046629338a46158f5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 16 Nov 2017 11:10:48 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_swap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index 1002517b0..8df54f58d 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -113,8 +113,8 @@ void basilisk_rawtx_purge(struct basilisk_rawtx *rawtx) { if ( rawtx->vins != 0 ) free_json(rawtx->vins); - //if ( rawtx->txbytes != 0 ) - // free(rawtx->txbytes), rawtx->txbytes = 0; + if ( rawtx->txbytes != 0 ) + free(rawtx->txbytes), rawtx->txbytes = 0; } void basilisk_swap_finished(struct basilisk_swap *swap) @@ -831,7 +831,7 @@ void LP_bobloop(void *_swap) } } basilisk_swap_finished(swap); - //free(swap); + free(swap); } else printf("swap timed out\n"); G.LP_pendingswaps--; }