[Bug c++/60371] std::vector::emplace_back

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 28 21:55:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60371

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This sounds like there is a copy constructor happening and you don't have a
copy constructor defined so it is a direct assignment which means you will get
a double free.



More information about the Gcc-bugs mailing list