Use err_clear_data macro
This commit is contained in:
parent
f51cf14b85
commit
d3ee37c5d9
@ -468,10 +468,9 @@ static unsigned long get_error_values(int inc, const char **file, int *line,
|
|||||||
|
|
||||||
if (data == NULL)
|
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]);
|
err_clear_data(es, i);
|
||||||
es->err_data[i] = NULL;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user