diff options
Diffstat (limited to 'src/node/ext/call.cc')
-rw-r--r-- | src/node/ext/call.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node/ext/call.cc b/src/node/ext/call.cc index 1b2ab21dfe..c0e2b0f0e8 100644 --- a/src/node/ext/call.cc +++ b/src/node/ext/call.cc @@ -234,7 +234,9 @@ class SendMetadataOp : public Op { class SendMessageOp : public Op { public: - SendMessageOp() { send_message = NULL; } + SendMessageOp() { + send_message = NULL; + } ~SendMessageOp() { if (send_message != NULL) { grpc_byte_buffer_destroy(send_message); @@ -269,7 +271,6 @@ class SendMessageOp : public Op { std::string GetTypeString() const { return "send_message"; } - private: grpc_byte_buffer *send_message; }; |