|
Boost Users : |
From: Christian Henning (chhenning_at_[hidden])
Date: 2006-10-27 10:50:33
Hi Christopher, thanks for putting so much time into this issue. I
changed the code as you requested, namely I added a new members to my
connection class. But unfortunately nothing has changed. I still have
memory leaks reported. Did you do the change on your machine?
Christian
On 10/26/06, Christopher Kohlhoff <chris_at_[hidden]> wrote:
> Hi Christian,
>
> Christian Henning wrote:
> > Hi Christopher, I think we can drop that issue for now. I cannot find
> > my MFC program that produced the leaks. I'm sure that if there is a
> > problem with MFC's leak detector it will come up again. Sorry for the
> > noise.
>
> Well, I did manage to reproduce a leak report, and it always seemed to be
> related to an operation started in image_quality_source::do_write(). In that
> function you're sending data from a std::string local variable called "msg".
> This is wrong since you need to ensure that the data being sent is valid until
> the asynchronous write's callback handler is called, so perhaps it should be
> using a class data member instead of a local variable.
>
> Cheers,
> Chris
>
> _______________________________________________
> 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