diff options
author | murgatroid99 <mlumish@google.com> | 2015-05-01 12:35:58 -0700 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2015-05-01 12:35:58 -0700 |
commit | 4925063b8b183863c9f9173929f80cf31c80c1e6 (patch) | |
tree | 75be152b9a5393b97440a64a1348f8737b222c14 /src/objective-c | |
parent | ca38ddb105f936cf5309c00cc9895a6dea1bf118 (diff) |
Resolved some comments
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 1 | ||||
-rw-r--r-- | src/objective-c/GRPCClient/private/NSError+GRPC.h | 2 |
2 files changed, 2 insertions, 1 deletions
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; |