>>>>> "C" == Colin Steele <colin / webg2.com> writes: C> This is almost identical to the example in the pickaxe book... what am C> I missing? Like have said matz you have forgotten to define new, more you'll have a memory leak C> tdata = Data_Make_Struct(class, C> foo, C> 0, C> 0, free, C> ptr); Data_Make_Struct call ALLOC C> return tdata; Guy Decoux