Fix a heavy memory corruption in p()/print()

If you free locally allocated ruby objects
you're gonna have a BAAAD time
This commit is contained in:
Jonas Kulla 2013-10-06 10:19:31 +02:00
parent 49e7b66a53
commit ce70b6dc95
1 changed files with 0 additions and 2 deletions

View File

@ -114,8 +114,6 @@ static void printP(int argc, VALUE *argv,
}
showMsg(RSTRING_PTR(dispString));
rb_str_free(dispString);
}
RB_METHOD(mriPrint)