diff --git a/gRPC.podspec b/gRPC.podspec index e93eae27ec1..fe5fe2cc187 100644 --- a/gRPC.podspec +++ b/gRPC.podspec @@ -4,7 +4,8 @@ Pod::Spec.new do |s| s.summary = 'Generic gRPC client library for iOS' s.homepage = 'https://www.grpc.io' s.license = 'New BSD' - s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' } + s.authors = { 'Jorge Canizales' => 'jcanizales@google.com' + 'Michael Lumish' => 'mlumish@google.com' } # s.source = { :git => 'https://github.com/grpc/grpc.git', :tag => 'release-0_5_0' } diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index 12788d0ada7..41ec1a18b69 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m @@ -243,6 +243,7 @@ - (void)dealloc { grpc_metadata_array_destroy(&_status.metadata); + gpr_free(_status.details); } @end diff --git a/src/objective-c/GRPCClient/private/NSError+GRPC.h b/src/objective-c/GRPCClient/private/NSError+GRPC.h index af1f3aecc5b..6577d34e807 100644 --- a/src/objective-c/GRPCClient/private/NSError+GRPC.h +++ b/src/objective-c/GRPCClient/private/NSError+GRPC.h @@ -61,7 +61,7 @@ typedef NS_ENUM(NSInteger, GRPCErrorCode) { #include typedef struct grpc_status { grpc_status_code status; - const char *details; + char *details; grpc_metadata_array metadata; } grpc_status;