Use err_clear_data macro

This commit is contained in:
Bodo Möller 2001-03-13 07:02:59 +00:00
parent f51cf14b85
commit d3ee37c5d9

View file

@ -468,10 +468,9 @@ static unsigned long get_error_values(int inc, const char **file, int *line,
if (data == NULL)
{
if (inc && (es->err_data[i] != NULL) && (es->err_data_flags[i] & ERR_TXT_MALLOCED))
if (inc)
{
OPENSSL_free(es->err_data[i]);
es->err_data[i] = NULL;
err_clear_data(es, i);
}
}
else