Add a missing mdstr_unref

This fixes most of the asan reported leaks.
pull/397/head
David Klempner 10 years ago
parent af39565cb4
commit e5437de181
  1. 1
      src/core/surface/call.c

@ -318,6 +318,7 @@ grpc_call_error grpc_call_cancel_with_status(grpc_call *c,
maybe_set_status_code(c, status);
if (details) {
maybe_set_status_details(c, details);
grpc_mdstr_unref(details);
}
gpr_mu_unlock(&c->read_mu);
return grpc_call_cancel(c);

Loading…
Cancel
Save