diff options
author | David Phillips <david@sighup.nz> | 2017-09-12 19:30:45 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-09-12 19:30:45 +1200 |
commit | 28d1059e94554cc6c36a26d47aa736faff9c4693 (patch) | |
tree | b15ca1f2838d97c64b330e670c7b1657e9c1e746 | |
parent | d35f255cadd6b24ccb0ccc34c40ac786a669366b (diff) | |
download | sand-leek-28d1059e94554cc6c36a26d47aa736faff9c4693.tar.xz |
Free bignum_e at exit, don't leak that memory
Chur alyptik for reminding me
-rw-r--r-- | sand-leek.c | 1 |
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; } |