sorm_new, sorm_select, sorm_free need pass the allocator.