aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport/transport_op_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/transport/transport_op_string.c')
-rw-r--r--src/core/lib/transport/transport_op_string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/transport/transport_op_string.c b/src/core/lib/transport/transport_op_string.c
index 8810a6bbda..9d5f9c2d6e 100644
--- a/src/core/lib/transport/transport_op_string.c
+++ b/src/core/lib/transport/transport_op_string.c
@@ -121,7 +121,7 @@ char *grpc_transport_stream_op_string(grpc_transport_stream_op *op) {
gpr_strvec_add(&b, gpr_strdup(" "));
const char *msg = grpc_error_string(op->cancel_error);
gpr_asprintf(&tmp, "CANCEL:%s", msg);
- grpc_error_free_string(msg);
+
gpr_strvec_add(&b, tmp);
}
@@ -160,7 +160,7 @@ char *grpc_transport_op_string(grpc_transport_op *op) {
const char *err = grpc_error_string(op->disconnect_with_error);
gpr_asprintf(&tmp, "DISCONNECT:%s", err);
gpr_strvec_add(&b, tmp);
- grpc_error_free_string(err);
+
}
if (op->goaway_error) {
@@ -168,7 +168,7 @@ char *grpc_transport_op_string(grpc_transport_op *op) {
first = false;
const char *msg = grpc_error_string(op->goaway_error);
gpr_asprintf(&tmp, "SEND_GOAWAY:%s", msg);
- grpc_error_free_string(msg);
+
gpr_strvec_add(&b, tmp);
}