From 99dc8947d28688a46f6beaa8646bdb48ff4e62f4 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 19 Jan 2015 21:37:26 +1100 Subject: [PATCH] Add message about lost ram in block solve and reject. --- src/stratifier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stratifier.c b/src/stratifier.c index c92ad794..e9585512 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1349,6 +1349,8 @@ static void reset_bestshares(sdata_t *sdata) ck_runlock(&sdata->instance_lock); } +/* Ram from blocks is NOT freed at all for now, only their entry is removed + * from the linked list, leaving a very small leak here and reject. */ static void block_solve(ckpool_t *ckp, const char *blockhash) { ckmsg_t *block, *tmp, *found = NULL;