Fix buffer leaks