|
Boost Users : |
From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-10-18 19:25:25
Hi Christian,
Christian Henning writes:
> Hi there, I have been spending some hour now on trackign down
> memory issues that are reported from MFC.
>
> In my client program I'm calling io_service::post( ... ) quite
> often and is seems to me that it allocates memory that is
> never been deallocated afterwards. Every call of post( ... )
> will result in one memory leak.
>
> The allocation takes place in the file
> handler_alloc_helpers.hpp in line 39. Setting a breakpoint
> here shows that every post(...) call allocates some memory.
> The deallocation which is right below in the file is never
> called.
That's very odd.
> Is this an known issue?
Presumably this is a side effect of using MFC, because there is
no leak in a standalone program. I don't use MFC, but do have
access to it, so if you can send me a VC7.1 or VC8 solution that
reproduces the issue I can take a quick look at it next week.
Cheers,
Chris
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