[Gambas-user] Issue 386 in gambas: Memory leak when using the "Signature" property of the ".Symbol" class

gambas at ...2524... gambas at ...2524...
Sat Jan 12 19:48:53 CET 2013


Status: New
Owner: ----
Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 386 by svit... at ...626...: Memory leak when using the "Signature"  
property of the ".Symbol" class
http://code.google.com/p/gambas/issues/detail?id=386

1) Describe the problem.
Memory leak when using the "Signature" property of the ".Symbol" class.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: 3.3.3 and trunk r5499

3) Provide a little project that reproduces the bug or the crash.
Code:
Public Sub Main()

   Print Classes["MMain"]["method_with_arg"].Signature 'bug: warning: 2  
allocation(s) non freed.
   Print Classes["MMain"]["method_void"].Signature     'no bug

End

Public Sub method_with_arg(X As Variant)



End

Public Sub method_void()



End

Output:
v

gbx3: warning: 2 allocation(s) non freed.






More information about the User mailing list