Boost logo

Boost Users :

Subject: Re: [Boost-users] polymorphic archive use and memory leak
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-12-04 11:22:39


I don't know what the constraints are.

But serialization 1.36 was tested against the rest of boost 1.35. So, Just changing the
serialization directories to boost 1.36 (or 1.37) and rebuilding would work.

Robert Ramey
  "sam p" <sameersp21_at_[hidden]> wrote in message news:c49aaa00812032021u428d6611o328d31c9ba9b84f4_at_mail.gmail.com...
  Thanks Guys!
  I verified your analysis by adding virtual destructor to polymorphic oarchive and mem leak vanished as expected.
  Currently due to some constraints I cannot move to boost 1.36.
  In that case, do you think it's sufficient to just add these virtual destructors ?
  Or there are some other significant fixes related to serialization which also need to be merged from 1.35 code base?

  -Sameer

   
  On 12/3/08, Kim Barrett <kab.conundrums_at_[hidden]> wrote:
    At 10:42 AM +0530 12/3/08, sam p wrote:

      But if I modify below given code as given below then it doesn't show any memory leak.
      I am using boost 1.32.

    The virtual destructor for polymorphic_oarchive (and iarchive) was added
    relatively recently, I think in boost 1.35.

    _______________________________________________
    Boost-users mailing list
    Boost-users_at_[hidden]
    http://lists.boost.org/mailman/listinfo.cgi/boost-users

------------------------------------------------------------------------------

  _______________________________________________
  Boost-users mailing list
  Boost-users_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



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