id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9027,Memory leaks in Lexer and Spirit classic,Antony Polukhin,Joel de Guzman,"In `boost/spirit/home/classic/tree/impl/tree_to_xml.ipp` you may find the following code (line 71): {{{ std::auto_ptr result (new wchar_t[len+1]); }}} This will lead to memory leak (array myst be deallocated via `delete []`, but `auto_ptr` calls `delete`). To fix that issue include `` and use `boost::scoped_array` instead of `std::auto_ptr` Same error can be found in `./boost/spirit/home/lex/lexer/lexertl/generate_static.hpp` at line 53.",Patches,closed,Boost 1.55.0,spirit,Boost Development Trunk,Problem,fixed,,