Signed-off-by: Loganaden Velvindron <[email protected]> --- crypto/ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/ecc.c b/crypto/ecc.c
index 414c78a..32f50c34 100644
--- a/crypto/ecc.c
+++ b/crypto/ecc.c
@@ -88,7 +88,7 @@ static struct ecc_point *ecc_alloc_point(unsigned int ndigits)
err_alloc_y:
ecc_free_digits_space(p->x);
err_alloc_x:
- kfree(p);
+ kzfree(p);
return NULL;
}
--
2.9.3
