Merge pull request #9270 from effbiae/sm3-free-x2

double free -- should be o_hash
This commit is contained in:
David Garske
2025-10-06 08:41:30 -07:00
committed by GitHub
+1 -1
View File
@@ -1415,7 +1415,7 @@ void wc_HmacFree(Hmac* hmac)
wc_Sm3Free(&hmac->hash.sm3);
#ifdef WOLFSSL_HMAC_COPY_HASH
wc_Sm3Free(&hmac->i_hash.sm3);
wc_Sm3Free(&hmac->i_hash.sm3);
wc_Sm3Free(&hmac->o_hash.sm3);
#endif
break;
#endif