From: Tim Hunter Date: 2004-04-11T01:29:15+09:00 Subject: Re: rb_str_new2 On Sat, 10 Apr 2004 18:16:04 +0200, Hadmut Danisch wrote: > Hi, > > if I use rb_str_new2(something) to return a string value from within a C > function, do I have to free something after that or is something used > within the resulting ruby object? > > regards > Hadmut GC will clean it up for you after you're finished with it (that is, when nothing refers to it any longer).