diff --git a/src/proxy.c b/src/proxy.c index c486376a5..4991d9457 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -1839,7 +1839,7 @@ struct proxy *parse_new_proxy(const char *name, unsigned int cap, const struct proxy *defproxy) { struct proxy *curproxy = NULL; - char *errmsg; + char *errmsg = NULL; if (!(curproxy = alloc_new_proxy(name, cap, &errmsg))) { ha_alert("parsing [%s:%d] : %s\n", file, linenum, errmsg);