---
src/ssl_ckch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c
index c03e95d36..ce6f230c6 100644
--- a/src/ssl_ckch.c
+++ b/src/ssl_ckch.c
@@ -1098,7 +1098,7 @@ struct ckch_store *ckchs_dup(const struct ckch_store *src)
/* copy the array of domain strings */
while (src->conf.acme.domains[n]) {
- r = realloc(r, sizeof(char *) * (n + 2));
+ r = my_realloc2(r, sizeof(char *) * (n + 2));
if (!r)
goto error;
@@ -5176,7 +5176,7 @@ int ckch_conf_parse(char **args, int cur_arg, struct
ckch_conf *f, int *found, c
do {
while (*e != ',' && *e != '\0')
e++;
- r = realloc(r, sizeof(char *) * (n +
2));
+ r = my_realloc2(r, sizeof(char *) * (n
+ 2));
if (!r) {
ha_alert("parsing [%s:%d]: out
of memory.\n", file, linenum);
err_code |= ERR_ALERT |
ERR_ABORT;
--
2.46.0.windows.1