Skip to content
Snippets Groups Projects
Commit 44369698 authored by David G. Quintas's avatar David G. Quintas Committed by GitHub
Browse files

Merge pull request #11076 from dgquintas/epoll_error_static_string

Don't crate GRPC_OS_ERROR with a non-static string
parents 59c16d7b b920d103
No related branches found
No related tags found
Loading
......@@ -769,7 +769,7 @@ grpc_error *grpc_os_error(const char *file, int line, int err,
GRPC_ERROR_INT_ERRNO, err),
GRPC_ERROR_STR_OS_ERROR,
grpc_slice_from_static_string(strerror(err))),
GRPC_ERROR_STR_SYSCALL, grpc_slice_from_static_string(call_name));
GRPC_ERROR_STR_SYSCALL, grpc_slice_from_copied_string(call_name));
}
#ifdef GPR_WINDOWS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment