diff options
author | David Klempner <klempner@imsanet.org> | 2015-02-04 14:06:03 -0800 |
---|---|---|
committer | David Klempner <klempner@imsanet.org> | 2015-02-04 14:06:03 -0800 |
commit | e5437de181fb0ccea7978c6dfa735169ad65cc69 (patch) | |
tree | 5399dc4bd26e9be6743a3e65bb3aaecab1f842e3 /src | |
parent | af39565cb4d19f86654fb290862f35cbcc6890f8 (diff) |
Add a missing mdstr_unref
This fixes most of the asan reported leaks.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/surface/call.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 5a24264cce..2b6f042eb9 100644 --- a/src/core/surface/call.c +++ b/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); |