thread mrb_state to inherit allocf from its parent
Merge pull request #25 from matz/shared_allocf

thread mrb_state to inherit allocf from its parent