geoffsmith82 / delphi-javascript

Automatically exported from code.google.com/p/delphi-javascript
5 stars 2 forks source link

Memory leaks in TJSEngine.registerGlobalFunctions #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
The change for this is done now.

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