Fixed xerces-c transcode related memory leaks