aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index d2ebe2fa4..8554d39d1 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -835,7 +835,7 @@ CURLcode Curl_loadhostpairs(struct Curl_easy *data)
char *entry_id;
size_t entry_len;
char address[64];
- char *addresses;
+ char *addresses = NULL;
char *addr_begin;
char *addr_end;
char *port_ptr;