From 80462848435c475844698d98b229a75e88590fcf Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 9 Nov 2014 20:15:11 +0100 Subject: [PATCH] align: missed one aligned free of struct work (solo) --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index c1401cb..e764922 100644 --- a/cpu-miner.c +++ b/cpu-miner.c @@ -811,7 +811,7 @@ static bool get_work(struct thr_info *thr, struct work *work) /* copy returned work into storage provided by caller */ memcpy(work, work_heap, sizeof(*work)); - free(work_heap); + aligned_free(work_heap); return true; }