id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1137,Virtual destructor is missing,anonymous,Robert Ramey,"The destructor of polymorphic_xml_oarchive gets never called when deleted through polymorphic_oarchive. I posted this to the users list and Robert Ramey already had a solution but it seems to not have made it into 1.34.1 :-( The result of this is a memory leak and a missing tag at the end of the stringstream in the following example: {{{ #include #include #include #include void main(int argc, char** argv) { std::ostringstream buffer; boost::archive::polymorphic_oarchive* archive_interface; archive_interface = new boost::archive::polymorphic_xml_oarchive(buffer); delete archive_interface; buffer.flush(); std::cout << buffer.str(); } }}}",Bugs,closed,To Be Determined,serialization,Boost 1.34.1,Problem,fixed,polymorphic archive destructor,Robert Ramey