From: ts Date: 2004-04-11T01:26:18+09:00 Subject: Re: rb_str_new2 >>>>> "H" == Hadmut Danisch writes: H> if I use rb_str_new2(something) to return a string value from within H> a C function, do I have to free something after that or is something H> used within the resulting ruby object? rb_str_new2(something) duplicate `something' otherwise it will not possible to write VALUE tt(VALUE obj) { return rb_str_new2("aa"); } Guy Decoux