diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-06 20:53:15 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-06 20:53:15 +0000 |
commit | 0d635a11199c3eae6f2ad8cb02e588fe189cd3c7 (patch) | |
tree | 6df3a79e7c104f449b955fdbf0039970d539ea28 | |
parent | e9ffa9a3b8bb4d44145b98d063dc2f45d409dccb (diff) |
fix out of memory handling issue
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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:")) |