summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-05 00:08:21 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-09 09:36:27 +0200
commitc4c9e070f35c113b8b9c4d79ca1b9c1afe87d0e4 (patch)
tree912b7e417bcbd50547567bdfeface0f2d2c2f8cc /lib/http.h
parent74e152f11915cdd46792daf5c5728be1b0dd9503 (diff)
downloadcurl-c4c9e070f35c113b8b9c4d79ca1b9c1afe87d0e4.tar.gz
Curl_fillreadbuffer: avoid double-free trailer buf on errorbagder/trailer-buf-free
Reviewed-by: Jay Satiro Reported-by: Thomas Vegas Closes #4307
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.h b/lib/http.h
index 5bacb1754..f0ddec759 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -75,7 +75,7 @@ CURLcode Curl_add_custom_headers(struct connectdata *conn,
bool is_connect,
Curl_send_buffer *req_buffer);
CURLcode Curl_http_compile_trailers(struct curl_slist *trailers,
- Curl_send_buffer *buffer,
+ Curl_send_buffer **buffer,
struct Curl_easy *handle);
/* protocol-specific functions set up to be called by the main engine */