Merge pull request #39 from ethereum/free-fs
Free the FFTSettings when freeing a KZGSettings
This commit is contained in:
commit
ddcf9ebff6
|
@ -710,6 +710,7 @@ static void free_fft_settings(FFTSettings *fs) {
|
|||
* @param ks The settings to be freed
|
||||
*/
|
||||
static void free_kzg_settings(KZGSettings *ks) {
|
||||
free((FFTSettings*)ks->fs);
|
||||
free(ks->g1_values);
|
||||
free(ks->g2_values);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue