the mark function is not important for your problem
>will it be deleted by GC or by my own custom free function.

it will be deleted by the GC with your own free function you give them 
to the GC (the third parameter)

-- 
Posted via http://www.ruby-forum.com/.