aboutsummaryrefslogtreecommitdiff
path: root/sand-leek.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-09-12 19:30:45 +1200
committerDavid Phillips <david@sighup.nz>2017-09-12 19:30:45 +1200
commit28d1059e94554cc6c36a26d47aa736faff9c4693 (patch)
treeb15ca1f2838d97c64b330e670c7b1657e9c1e746 /sand-leek.c
parentd35f255cadd6b24ccb0ccc34c40ac786a669366b (diff)
downloadsand-leek-28d1059e94554cc6c36a26d47aa736faff9c4693.tar.xz
Free bignum_e at exit, don't leak that memory
Chur alyptik for reminding me
Diffstat (limited to 'sand-leek.c')
-rw-r--r--sand-leek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sand-leek.c b/sand-leek.c
index 41c0cbb..338f455 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -170,6 +170,7 @@ work(void *arg) {
}
}
STOP:
+ BN_free(bignum_e);
sem_post(&working);
return NULL;
}