[omniORB] DynamicAny memory leak

Duncan Grisby duncan at grisby.org
Mon Feb 2 12:35:49 GMT 2009


On Monday 12 January, Sampo Ahokas wrote:

> I have been working on a project that uses DII, DSI and DynamicAny
> extensively, and it appears that there may be some memory leaks (or
> I'm doing things incorrectly, of course...). Setting the
> members/elements of DynStruct and DynSequence as DynAny seems to cause
> a leak.

Yes, you are right. There are leaks in the as_dyn_any functions. I've
applied the fixes you suggest, plus a couple more cases where it could
leak.

Thanks for the bug report / patch,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list