From a1ad3dc57f797765273c7ed290cdabe642d58842 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 7 May 2017 10:43:03 +1000 Subject: [PATCH] Free data in rare found situation. --- src/stratifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stratifier.c b/src/stratifier.c index ae8b16e2..7e93ac21 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1615,6 +1615,7 @@ static bool rebuild_txns(ckpool_t *ckp, sdata_t *sdata, workbase_t *wb) txn->refcount = REFCOUNT_REMOTE; HASH_ADD_STR(sdata->txns, hash, txn); } else { + free(data); txn->refcount = REFCOUNT_REMOTE; txn->seen = true; JSON_CPACK(txn_val, "{ss,ss}",