From 0572560cc0291ad09b6e03a3d49559d1dc537fb0 Mon Sep 17 00:00:00 2001 From: Makarand Dharmapurikar <makarandd@google.com> Date: Thu, 23 Mar 2017 11:16:54 -0700 Subject: [PATCH] fixed yet another referencing issue --- src/core/lib/channel/http_client_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/channel/http_client_filter.c b/src/core/lib/channel/http_client_filter.c index 347fc5c208..caab03d577 100644 --- a/src/core/lib/channel/http_client_filter.c +++ b/src/core/lib/channel/http_client_filter.c @@ -329,7 +329,7 @@ static grpc_error *hc_mutate_op(grpc_exec_ctx *exec_ctx, size_t path_length = strlen(t) + 1; *(t + path_length) = '\0'; path_with_query_slice = - grpc_slice_sub_no_ref(path_with_query_slice, 0, path_length); + grpc_slice_sub(path_with_query_slice, 0, path_length); /* substitute previous path with the new path+query */ grpc_mdelem mdelem_path_and_query = grpc_mdelem_from_slices( -- GitLab