projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c769a
)
Use err_clear_data macro
author
Bodo Möller
<bodo@openssl.org>
Tue, 13 Mar 2001 07:03:39 +0000
(07:03 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Tue, 13 Mar 2001 07:03:39 +0000
(07:03 +0000)
crypto/err/err.c
patch
|
blob
|
history
diff --git
a/crypto/err/err.c
b/crypto/err/err.c
index 74242b62fc2108f8a414158a66c30a8c1f73d285..7579c9cea81a51cba13a48297afe2c2e374309f5 100644
(file)
--- a/
crypto/err/err.c
+++ b/
crypto/err/err.c
@@
-464,10
+464,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