Parse error when compiling a statement causes memory leak until attachment is 
disconnected
------------------------------------------------------------------------------------------

                 Key: CORE-5646
                 URL: http://tracker.firebirdsql.org/browse/CORE-5646
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 4.0 Alpha 1, 3.0.2
            Reporter: Adriano dos Santos Fernandes


Before statement is compiled, a memory pool is created and registered in the 
attachment.

If statement has error, this pool is only immediatelly destroyed if a request 
has been created, but statements with syntactic errors does not create requests.

Then the pool is only deallocated at attachment disconnection.

Example statement:

select;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to