Fix mem leak for valgrind

This commit is contained in:
Tesfa Mael
2019-11-08 12:09:46 -08:00
parent e329431bc1
commit 99ee4a407d

View File

@ -13096,6 +13096,8 @@ static int dh_test_ffdhe(WC_RNG *rng, const DhParams* params)
}
done:
wc_FreeDhKey(&key);
wc_FreeDhKey(&key2);
return ret;
}