Unverified Commit 2e165b9e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5425 from dearblue/exc_to_s

Fix symbol leak in `exc_to_s()`
parents f2253504 c0cd004b
......@@ -88,7 +88,7 @@ exc_exception(mrb_state *mrb, mrb_value self)
* no message is set).
*/
mrb_value
static mrb_value
exc_to_s(mrb_state *mrb, mrb_value exc)
{
mrb_value mesg = mrb_attr_get(mrb, exc, MRB_SYM(mesg));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment