diff options
author | David G. Quintas <dgq@google.com> | 2017-05-12 19:12:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 19:12:34 -0700 |
commit | 44369698fdd615d43ecc9ddcd8e8ad9c075567bc (patch) | |
tree | 64dbe9d9e2525b783b7ef3f57fd784b2db43b47d /src | |
parent | 59c16d7bfbb7999a728ddf7b6cac66619a06706f (diff) | |
parent | b920d103de1c653c1c26791b2d71ef94c664dca3 (diff) |
Merge pull request #11076 from dgquintas/epoll_error_static_string
Don't crate GRPC_OS_ERROR with a non-static string
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/iomgr/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/error.c b/src/core/lib/iomgr/error.c index 5f2c989aad..685581b5cb 100644 --- a/src/core/lib/iomgr/error.c +++ b/src/core/lib/iomgr/error.c @@ -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 |