Fix resource leak in x509_ocsp_response
This commit is contained in:
committed by
Tobias Brunner
parent
dbfd1a63aa
commit
c230885a07
@@ -373,6 +373,10 @@ static bool parse_singleResponse(private_x509_ocsp_response_t *this,
|
||||
}
|
||||
this->responses->insert_last(this->responses, response);
|
||||
}
|
||||
else
|
||||
{
|
||||
free(response);
|
||||
}
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user