fix memory leak in cbify.cc