utf8 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -362,6 +362,8 @@ static VALUE rb_cString_UTF8_clean(VALUE self) {
362
362
  rb_out = rb_str_new((const char*)out, len);
363
363
  AS_UTF8(rb_out);
364
364
 
365
+ xfree(out);
366
+
365
367
  return rb_out;
366
368
  }
367
369
 
data/lib/utf8/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  class UTF8 < ::String
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utf8
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Lopez