mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
fix dh_test drbg memory leak
This commit is contained in:
@ -3954,6 +3954,10 @@ int dh_test(void)
|
||||
FreeDhKey(&key);
|
||||
FreeDhKey(&key2);
|
||||
|
||||
#if defined(HAVE_HASHDRBG) || defined(NO_RC4)
|
||||
FreeRng(&rng);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user