fixed memory leak
This commit is contained in:
1 parent
c96aefe268
commit
493f377b41
1 file changed
+1
@@ -531,6 +531,7 @@ static void destroy(private_diffie_hellman_t *this)
|
|||||||
mpz_clear(this->ya);
|
mpz_clear(this->ya);
|
||||||
mpz_clear(this->yb);
|
mpz_clear(this->yb);
|
||||||
mpz_clear(this->zz);
|
mpz_clear(this->zz);
|
||||||
|
mpz_clear(this->g);
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user