aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext/call.cc
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-12-07 22:22:56 -0800
committerGravatar yang-g <yangg@google.com>2015-12-07 22:22:56 -0800
commitb50ae4651bf1043a30e4db20cd4b4d3ca2cadfe4 (patch)
treeaddc94dc99fb5d161fe91b54e638eb7f764ad47b /src/node/ext/call.cc
parentf1183300ce40c957fc9010e8513c15a15d11afd4 (diff)
parent045c8483c2d78421d40bf88112e012e1624a0d93 (diff)
merge with head
Diffstat (limited to 'src/node/ext/call.cc')
-rw-r--r--src/node/ext/call.cc5
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;
};