leak detective blanks memory on free & alloc, allows further membug detection
This commit is contained in:
@@ -89,8 +89,8 @@ static void set_key(private_hmac_prf_t *this, chunk_t key)
|
||||
*/
|
||||
static void destroy(private_hmac_prf_t *this)
|
||||
{
|
||||
free(this);
|
||||
this->hmac->destroy(this->hmac);
|
||||
free(this);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user