From 0d635a11199c3eae6f2ad8cb02e588fe189cd3c7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 6 Apr 2007 20:53:15 +0000 Subject: fix out of memory handling issue --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index b59779b1b..011f1141e 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1170,7 +1170,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn, if(!host) { free(req_buffer); free(host_port); - result = CURLE_OUT_OF_MEMORY; + return CURLE_OUT_OF_MEMORY; } } if(!checkheaders(data, "Proxy-Connection:")) -- cgit v1.2.3