free the allocated slice to fix asan failure

pull/10222/head
Makarand Dharmapurikar 8 years ago
parent 226098c9f1
commit ce7b947ebe
  1. 1
      src/core/lib/channel/http_client_filter.c

@ -342,6 +342,7 @@ static grpc_error *hc_mutate_op(grpc_exec_ctx *exec_ctx,
calld->on_complete = op->on_complete;
op->on_complete = &calld->hc_on_complete;
op->send_message = NULL;
grpc_slice_unref_internal(exec_ctx, path_with_query_slice);
} else {
/* Not all data is available. Fall back to POST. */
gpr_log(GPR_DEBUG,

Loading…
Cancel
Save