aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-17 19:31:20 -0400
committerRob Austein <sra@hactrn.net>2017-05-17 19:31:20 -0400
commitef862544e8a183b99909008873808a3e3b0d54ac (patch)
treec75210742cc68a9e65708ac242e77a1c288d516c
parentb6017cf2295dfa16b2062794ac55e8553f64a1a6 (diff)
Free modexp core after using it.
-rw-r--r--modexp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modexp.c b/modexp.c
index bad492b..f097f33 100644
--- a/modexp.c
+++ b/modexp.c
@@ -226,6 +226,7 @@ hal_error_t hal_modexp(hal_core_t *core,
/* Extract result */
check(get_buffer(core, MODEXPS6_ADDR_RESULT, result, mod_len));
+ hal_core_free(core);
return HAL_OK;
}