[haiku-development] Re: deletion of areas missing?

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 21 Jul 2007 16:19:24 +0200

On 2007-07-21 at 13:59:18 [+0200], Jonas Sundström <jonas@xxxxxxxxxxx> 
wrote:
> Looking at the output of listarea before, during and after
> running a bunch of applications, it seems a few areas get
> left behind, being still listed for the app_server after the
> apps have quit.
> 
> See attached files. (grep on 'heap:' on listarea output)
> 
> Apart from grep line numbers, during.txt and after.txt
> are identical.
> 
> In src/servers/app there are 5 calls to create_area and 3
> to delete_area. The areas named heap:team:sig
> get created from code in ClientMemoryAllocator.cpp

There's a TODO in ClientMemoryAllocator::Free() stating that the area 
should be deleted when it is not used anymore. For the time being the 
destructor could delete them, I suppose.

CU, Ingo

Other related posts: