This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/27530] Possible memory leak in std::vector<int>::reserve() or std::vector<int>::clear()
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2006 10:08:29 -0000
- Subject: [Bug libstdc++/27530] Possible memory leak in std::vector<int>::reserve() or std::vector<int>::clear()
- References: <bug-27530-12666@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from chris at bubblescope dot net 2006-07-29 10:08 -------
My natural suspision would be that your clone() function is incorrectly
implemented. Can you show us the source to the CMessage object, and
theMessageFactory.createInstance( ?)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27530