Hi, In an extension to Ruby I allocate memory with ALLOC_N() and ALLOC(). If I use free() I get a runtime exception. Looking in ruby.h I see xfree() which seems to work okay, however I don't read anything in readme.ext or Programming Ruby that indicates that this is the preferred method. Thanks! John