summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/asn1/x_x509.c1
-rw-r--r--src/lib/libssl/src/crypto/asn1/x_x509.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c
index e7d613e20f..e93d97d2c4 100644
--- a/src/lib/libcrypto/asn1/x_x509.c
+++ b/src/lib/libcrypto/asn1/x_x509.c
@@ -125,6 +125,7 @@ x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
125#endif 125#endif
126 if (ret->name != NULL) 126 if (ret->name != NULL)
127 free(ret->name); 127 free(ret->name);
128 ret->name = NULL;
128 break; 129 break;
129 } 130 }
130 131
diff --git a/src/lib/libssl/src/crypto/asn1/x_x509.c b/src/lib/libssl/src/crypto/asn1/x_x509.c
index e7d613e20f..e93d97d2c4 100644
--- a/src/lib/libssl/src/crypto/asn1/x_x509.c
+++ b/src/lib/libssl/src/crypto/asn1/x_x509.c
@@ -125,6 +125,7 @@ x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg)
125#endif 125#endif
126 if (ret->name != NULL) 126 if (ret->name != NULL)
127 free(ret->name); 127 free(ret->name);
128 ret->name = NULL;
128 break; 129 break;
129 } 130 }
130 131