summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptodev_cipher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c
index 7777e6e..19841e1 100644
--- a/cryptodev_cipher.c
+++ b/cryptodev_cipher.c
@@ -265,6 +265,7 @@ int ret;
return 0;
error:
+ kfree(hdata->async.result);
crypto_free_ahash(hdata->async.s);
return ret;
}