diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c index fe03a5dde..d2a3f9c24 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -120,6 +120,8 @@ CURLM *curl_multi_init(void) memset(multi, 0, sizeof(struct Curl_multi)); multi->type = CURL_MULTI_HANDLE; } + else + return NULL; multi->hostcache = Curl_mk_dnscache(); if(!multi->hostcache) { |