Ticket #163 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

CapeRegistry wrappers leak memory

Reported by: jasper Owned by: jasper
Priority: major Milestone: Maintenance of Phase II
Component: Client Header Files Version: 1.2.0.11
Keywords: Cc:

Description

The wrappers for CapeRegistryWriter? and CapeRegistryKeyReader? add a reference too many to the constructed object, causing their memory not to be released (memory leak).

Code that uses these types (CapeRegistryWriter? and CapeRegistryKeyReader?) directly should be rebuilt against the new client headers. Most code would not use these types directly (but would use the Registrar types instead)

Change History

comment:1 Changed 2 years ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 2 years ago by michelpons

With "Most code would not use these types directly (but would use the Registrar types instead)" are you speaking of COBIA-based applications like Multiflash and would they be impacted or not by this issue (now resolved) if using the Registrar types?

comment:3 follow-up: ↓ 4 Changed 2 years ago by jasper

I am not sure - the impact would in any case be small - some memory that remains allocated until the process exits.

comment:4 in reply to: ↑ 3 Changed 2 years ago by jasper

Replying to jasper:

I am not sure - the impact would in any case be small - some memory that remains allocated until the process exits.

I would think this would affect COBIA based PMEs mostly as they use the registry when running 'normally'. COBIA PMCs only use the registry when registering or unregistering themselves, typically during (un-)installation only.

Note: See TracTickets for help on using tickets.