Backport #8141

backport r39856

Added by Tomoyuki Chikanaga about 1 year ago. Updated about 1 year ago.

[ruby-dev:47184]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

r39856 fixes a potential memory leak.

Associated revisions

Revision 40256
Added by Tomoyuki Chikanaga about 1 year ago

merge revision(s) 39822,39856: [Backport #8141]

* string.c (rb_str_conv_enc_opts): convert with one converter, instead
  of re-creating converters for each buffer expansion.

History

#1 Updated by Tomoyuki Chikanaga about 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40256.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39822,39856: [Backport #8141]

* string.c (rb_str_conv_enc_opts): convert with one converter, instead
  of re-creating converters for each buffer expansion.

Also available in: Atom PDF