提交 d3ee37c5 编写于 作者: B Bodo Möller

Use err_clear_data macro

上级 f51cf14b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册