aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-19 08:02:38 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-19 08:02:38 -0700
commitb815fb234f0be81b73fb678f7dee8eaeb8448bcd (patch)
tree45844592ad59060fab349d5b7b577770c2b70538 /src/node
parent42758992973025e99f9916bb973471a87121daa1 (diff)
Zero out reserved field in node
Diffstat (limited to 'src/node')
-rw-r--r--src/node/ext/call.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/ext/call.cc b/src/node/ext/call.cc
index 705c80ffc1..a79a47427f 100644
--- a/src/node/ext/call.cc
+++ b/src/node/ext/call.cc
@@ -581,6 +581,7 @@ NAN_METHOD(Call::StartBatch) {
uint32_t type = keys->Get(i)->Uint32Value();
ops[i].op = static_cast<grpc_op_type>(type);
ops[i].flags = 0;
+ ops[i].reserved = NULL;
switch (type) {
case GRPC_OP_SEND_INITIAL_METADATA:
op.reset(new SendMetadataOp());