Fix leaks in hybi-16 implementation