From 2f9c6d37f033bbfa47e2caaae1ad56114157d7d5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 15 Nov 2017 23:14:20 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index ae0491bd2..15f431a6f 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -1228,6 +1228,7 @@ void LP_free(void *ptr) n = 0; DL_FOREACH_SAFE(LP_memory_list,mp,tmp) { + printf("%d ",mp->len); total += mp->len; n++; } @@ -1245,7 +1246,7 @@ void LP_free(void *ptr) portable_mutex_lock(&LP_cJSONmutex); DL_DELETE(LP_memory_list,mp); portable_mutex_unlock(&LP_cJSONmutex); - printf(">>>>>>>>>>> LP_free ptr.%p mp.%p len.%u\n",ptr,mp,mp->len); + //printf(">>>>>>>>>>> LP_free ptr.%p mp.%p len.%u\n",ptr,mp,mp->len); free(mp->ptr); free(mp); } // free from source file with #define redirect for alloc that wasnt