diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c index 5151dd5cf..58c7cb009 100644 --- a/crypto/engine/hw_ncipher.c +++ b/crypto/engine/hw_ncipher.c @@ -451,6 +451,7 @@ static int hwcrhk_finish() goto err; } err: + logstream = NULL; hwcrhk_dso = NULL; p_hwcrhk_Init = NULL; p_hwcrhk_Finish = NULL;