cgana() returns now the lenght of the free_methods array instead of setting a passed pointer. [r28263]