ruby core: fix a memory leak

It doesn't cause any problem ever because this binding is not used
yet. :p

If we implement a milter server (MTA side milter protocol) by the Ruby
bindings, we would face memory leak.