aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gRPC.podspec3
-rw-r--r--src/objective-c/GRPCClient/private/GRPCWrappedCall.m1
-rw-r--r--src/objective-c/GRPCClient/private/NSError+GRPC.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/gRPC.podspec b/gRPC.podspec
index e93eae27ec..fe5fe2cc18 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 12788d0ada..41ec1a18b6 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 af1f3aecc5..6577d34e80 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 <grpc/grpc.h>
typedef struct grpc_status {
grpc_status_code status;
- const char *details;
+ char *details;
grpc_metadata_array metadata;
} grpc_status;