cleberlr/delphi-javascript

Memory leaks in TJSEngine.registerGlobalFunctions

GoogleCodeExporter opened this issue · 0 comments

What steps will reproduce the problem?
Try the attached project (Delphi XE2)

What is the expected output? What do you see instead?
No memory leaks

What version of the product are you using? On what operating system?
Last trunk on Delphi XE2 on Windows 7

The problem seems to be the PAnsiChar function name used in the 
TJSFunctionSpecArray because it is allocated but is nowhere deallocated.

Original issue reported on code.google.com by daniele....@gmail.com on 18 Jul 2012 at 10:51

Attachments:

The change for this is done now.

Original comment by n.ame...@gmail.com on 1 Oct 2012 at 1:25

  • Changed state: Fixed