diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-13 07:02:59 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-13 07:02:59 +0000 |
commit | d3ee37c5d9d230d3c167ab6a7109b06f81fe18b8 (patch) | |
tree | b99d3bc825c910f7995bae93cfbd0dc6f06d5464 /crypto/err | |
parent | f51cf14b85e489a8ab357fc16719efb711e76a1f (diff) |
Use err_clear_data macro
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/err.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c index 91b0295fb5..06d1ef9c4a 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -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 |