J
JustSomeGuy
I think that I have a memory leak / free problem.
I have object that I put into a std::list.
When the list is destroyed I think the objects in the list are also
destroyed.
However they are not refrences to objects they are actual deep copies
of
objects in the list. So it should be ok to delete them when the list
is deleted
and then the original objects will be deleted when they go out of
scope...
Any suggestions on how to find this double free?
I have object that I put into a std::list.
When the list is destroyed I think the objects in the list are also
destroyed.
However they are not refrences to objects they are actual deep copies
of
objects in the list. So it should be ok to delete them when the list
is deleted
and then the original objects will be deleted when they go out of
scope...
Any suggestions on how to find this double free?