From: Bertram Scharpf Date: 2009-10-25T07:09:46+09:00 Subject: Re: C extension: "malloc" and "rb_raise" Hi, Am Sonntag, 25. Okt 2009, 00:32:43 +0900 schrieb Iñaki Baz Castillo: > El Sábado, 24 de Octubre de 2009, Bertram Scharpf escribió: > > It's a small piece of C code, no more. Do you mean that I shouldn't use > "malloc"/"free" in a Ruby C extension? README.EXT recommends to allocate space by the ALLOC() macro which calls Ruby's xmalloc(). I cannot find an xfree() call there; I admit I do not understand that. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de