grpc 1.6.4-universal-darwin → 1.6.6-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of grpc might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c2e00310bf8fe5502fe0696b9659231a0fa80a2
4
- data.tar.gz: 346ab5fe39f410d5509764021ab701bb8271a3b7
3
+ metadata.gz: 6f5fb19edc69b091d1f640d9422497d66b735533
4
+ data.tar.gz: c85ad6b433ad875702f9db9b9e90e3b188c24b7d
5
5
  SHA512:
6
- metadata.gz: 683e21b438c56ed437d492026d844597ccee98bb6e7f42c1a13259ae50fa540a37bacdf4a166c20c34a9f676cb3fdad7beea63b0aa658dcf38c21e84f81d9699
7
- data.tar.gz: a8e93990a590be9d19025ccc996e244c5a763ab79bb4b1500c7916db7004221f5c6a2a00b54e37ea7f818b0ef1066bac47e47804ad5ddeedf2933709c5bbff9b
6
+ metadata.gz: 6736da3087b58c05be63964ca843cd93911859fe83f7f8d2619be815eb5c67bba3a200398ea42c02c72fd166465bcb80694a2a618cfca3956b1610f247087cd8
7
+ data.tar.gz: 5459445337d12f645477abcd24ffb00e43f0a0156563f383e20f22a2a9894e189eabd4d870a623b47b449d6499786fd79b869796376cda433005459a16f2997e
@@ -101,6 +101,7 @@ static void grpc_rb_call_destroy(void *p) {
101
101
  return;
102
102
  }
103
103
  destroy_call((grpc_rb_call *)p);
104
+ xfree(p);
104
105
  }
105
106
 
106
107
  static size_t md_ary_datasize(const void *p) {
@@ -905,6 +906,9 @@ static void Init_grpc_error_codes() {
905
906
  rb_define_const(grpc_rb_mRpcErrors, "INVALID_FLAGS",
906
907
  UINT2NUM(GRPC_CALL_ERROR_INVALID_FLAGS));
907
908
 
909
+ /* Hint the GC that this is a global and shouldn't be sweeped. */
910
+ rb_global_variable(&rb_error_code_details);
911
+
908
912
  /* Add the detail strings to a Hash */
909
913
  rb_error_code_details = rb_hash_new();
910
914
  rb_hash_aset(rb_error_code_details, UINT2NUM(GRPC_CALL_OK),
@@ -315,8 +315,8 @@ void Init_grpc_c() {
315
315
  return;
316
316
  }
317
317
 
318
- bg_thread_init_rb_mu = rb_mutex_new();
319
318
  rb_global_variable(&bg_thread_init_rb_mu);
319
+ bg_thread_init_rb_mu = rb_mutex_new();
320
320
 
321
321
  grpc_rb_mGRPC = rb_define_module("GRPC");
322
322
  grpc_rb_mGrpcCore = rb_define_module_under(grpc_rb_mGRPC, "Core");
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.6.4'
17
+ VERSION = '1.6.6'
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.6
5
5
  platform: universal-darwin
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf