[omniORB] OmniORB3.01 - Reducing memory leaks - patch 1

Duncan Grisby dgrisby@uk.research.att.com
Fri, 15 Sep 2000 15:21:40 +0100


On Friday 15 September, Jeroen.Dobbelaere@MMR.be wrote:

> As other developers with MSVC++, I've also encountered the problem
> of memory leaks which aren't leaks, signalled by MSVC's debug
> library.
> 
> In stead of living with it, I've started investigating the source of
> those leaks, and tried to provide a mechanism so that 'static data'
> will also be cleaned up when the program tries to do a nice
> 'shutdown'.

We'll consider adding this sort of modification, as long as it doesn't
make things significantly more complex, or add too much to the runtime
size. These sorts of things are likely to break binary compatibility,
so don't expect them any time soon.

> + // use stl (easier)
> + #include <list>

Unfortunately, we can't use STL in omniORB, since it isn't
sufficiently supported on all of the compilers we target.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --