summaryrefslogtreecommitdiffstats
path: root/minethd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minethd.cpp')
-rw-r--r--minethd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minethd.cpp b/minethd.cpp
index 20f298d..c74883c 100644
--- a/minethd.cpp
+++ b/minethd.cpp
@@ -238,7 +238,7 @@ bool minethd::self_test()
if((ctx1 = minethd_alloc_ctx()) == nullptr)
{
- cryptonight_free_ctx(ctx1);
+ cryptonight_free_ctx(ctx0);
return false;
}
OpenPOWER on IntegriCloud