|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-03 21:33:01
Stephen Torri wrote:
> I have a class which is containing a shared_ptr to data. This class
> parses in a XML file and populates the data based upon the contents.
> There is a memory problem in this file where I reset the shared_ptr.
Valgrind appears to claim that the contents of 0x4389BC0 are not
initialized. It then remarks that
> Address 0x4389BC0 is 8 bytes inside a block of size 60 alloc'd
> by 0x41968E1:
> libreverse::infrastructure::Formula_Parser::get_Graph(std::string,
> std::string) (Formula_Parser.cpp:110)
Line 110 seems correct, but the part of the Graph object at offset 8 is
never initialized for some reason, if I read Valgrind's output correctly.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net