fix kr io2 buffer memleak