Page 1 of 1

Memory leak in dclOdac.bpl

Posted: Mon 23 Jan 2017 11:40
by Freezer_86
Hi!
In my project i use own idesigner, so dcl*.bpl's is used in project too.
Found memory leak in OraDesign.pas(ODAC ver 9.6.20):

Code: Select all

{$IFNDEF FPC}
var
  Notificator: TOraDesignNotification; 
{$ENDIF}
...
  Notificator := TOraDesignNotification.Create;
  RegisterDesignNotification(Notificator);
...
  UnRegisterDesignNotification(Notificator);
Need to free object after UnRegister or declare variable as:

Code: Select all

var
  Notificator: IDesignNotification;//TOraDesignNotification;
for prevanting memory leaks.

Also ODAC show notify about new version in each client PC. There is some "embedded" directive for preventing this in normal way?

Re: Memory leak in dclOdac.bpl

Posted: Thu 26 Jan 2017 11:16
by AlexP
Hello,

Thank you for the information. We will fix MemoryLeak in the nearest version and also consider a possibility of "disabling" versions check.

Re: Memory leak in dclOdac.bpl

Posted: Thu 02 Feb 2017 10:45
by AlexP
We fixed Memory Leak and added check to run Version Checker