From 53d5f9d887ae50d255a96536b8555b32631d4489 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 21 Jan 2015 13:03:18 -0800 Subject: [PATCH] Initialize some members --- src/core/channel/http_server_filter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c index aef001b7cdf..e6f88a4bd41 100644 --- a/src/core/channel/http_server_filter.c +++ b/src/core/channel/http_server_filter.c @@ -282,6 +282,9 @@ static void init_channel_elem(grpc_channel_element *elem, channeld->content_type = grpc_mdelem_from_strings(mdctx, "content-type", "application/grpc"); + /* initialize http download support */ + channeld->gettable_count = 0; + channeld->gettables = NULL; for (i = 0; i < args->num_args; i++) { if (0 == strcmp(args->args[i].key, GRPC_ARG_SERVE_OVER_HTTP)) { gettable *g;