Issue #8141 has been reported by nagachika (Tomoyuki Chikanaga).

----------------------------------------
Backport #8141: backport r39856
https://bugs.ruby-lang.org/issues/8141

Author: nagachika (Tomoyuki Chikanaga)
Status: Assigned
Priority: Normal
Assignee: nagachika (Tomoyuki Chikanaga)
Category: 
Target version: 


r39856 fixes a potential memory leak.


-- 
http://bugs.ruby-lang.org/