>>>>> "M" == Michal Rokos <m.rokos / sh.cvut.cz> writes:

M> PS: I know that we can use rb_ensure, but it looks like overkill to me.

 Well, probably I'm tired but

  rb_when_raised_free(proc, data, arg);

 is the same than

  rb_ensure(proc, data, free, arg);


Guy Decoux