summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_addr.c')
-rw-r--r--src/lib/libcrypto/x509/x509_addr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_addr.c b/src/lib/libcrypto/x509/x509_addr.c
index 5aff2700fb..2bbecaec97 100644
--- a/src/lib/libcrypto/x509/x509_addr.c
+++ b/src/lib/libcrypto/x509/x509_addr.c
@@ -1062,7 +1062,7 @@ static void *v2i_IPAddrBlocks(const struct v3_ext_method *method,
1062 X509V3_conf_err(val); 1062 X509V3_conf_err(val);
1063 goto err; 1063 goto err;
1064 } 1064 }
1065 OPENSSL_free(s); 1065 free(s);
1066 s = NULL; 1066 s = NULL;
1067 continue; 1067 continue;
1068 } 1068 }
@@ -1131,7 +1131,7 @@ static void *v2i_IPAddrBlocks(const struct v3_ext_method *method,
1131 goto err; 1131 goto err;
1132 } 1132 }
1133 1133
1134 OPENSSL_free(s); 1134 free(s);
1135 s = NULL; 1135 s = NULL;
1136 } 1136 }
1137 1137
@@ -1143,7 +1143,7 @@ static void *v2i_IPAddrBlocks(const struct v3_ext_method *method,
1143 return addr; 1143 return addr;
1144 1144
1145 err: 1145 err:
1146 OPENSSL_free(s); 1146 free(s);
1147 sk_IPAddressFamily_pop_free(addr, IPAddressFamily_free); 1147 sk_IPAddressFamily_pop_free(addr, IPAddressFamily_free);
1148 return NULL; 1148 return NULL;
1149} 1149}