Signed-off-by: Cristian Stoica <cristian.sto...@freescale.com>
---
 cryptlib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cryptlib.c b/cryptlib.c
index 44404b5..54d5d41 100644
--- a/cryptlib.c
+++ b/cryptlib.c
@@ -155,7 +155,7 @@ error:
        } else {
                if (out->async.arequest)
                        aead_request_free(out->async.arequest);
-               if (out->async.s)
+               if (out->async.as)
                        crypto_free_aead(out->async.as);
        }
        kfree(out->async.result);
-- 
1.7.11.7



_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to