[bugfix] free ubuf when convert to GoBytes