summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 943853a77..f9e908624 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -2247,7 +2247,7 @@ static CURLcode http2_cfilter_add(struct Curl_cfilter **pcf,
struct connectdata *conn,
int sockindex)
{
- struct Curl_cfilter *cf;
+ struct Curl_cfilter *cf = NULL;
struct h2_cf_ctx *ctx;
CURLcode result = CURLE_OUT_OF_MEMORY;