Fix buffer leaks in XmlFrameDecoderTest