[Gambas-user] Issue 224 in gambas: "Input" leaks memory

gambas at ...2524... gambas at ...2524...
Tue Mar 13 02:21:45 CET 2012


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

New issue 224 by emil.len... at ...626...: "Input" leaks memory
http://code.google.com/p/gambas/issues/detail?id=224

1) Describe the problem.
The reference counting is wrong when using the "Input" statement.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r4543

3) Provide a little project that reproduces the bug or the crash.
Public Sub Main
   Dim s As String
   Input s
End

Run the program, input something, this is the result:
gbx3: warning: 2 allocation(s) non freed.





More information about the User mailing list