ParentFull threadlibso·One the face of it, it does look like the memory pointed by streamP leaks. Unless build () kept another pointer to be used in the destructor.View on HN