aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}