fix remaining non fpecc ecc_del_point w/o heap

This commit is contained in:
toddouska
2016-07-27 14:24:34 -07:00
parent 6cd4acbdba
commit a94f34c8e2

View File

@ -2237,7 +2237,7 @@ int wc_ecc_shared_secret(ecc_key* private_key, ecc_key* public_key, byte* out,
}
if ((err = mp_init_multi(&prime, &a, NULL, NULL, NULL, NULL)) != MP_OKAY) {
wc_ecc_del_point(result);
wc_ecc_del_point_h(result, private_key->heap);
return err;
}