Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

[7.x.x] Fix a memory leak in the XPath 3.1 Lookup Operator implementation#182

Open
adamretter wants to merge 2 commits intodevelop-7.x.xfrom
7.x.x/hotfix/lookup-operator-memory-leak
Open

[7.x.x] Fix a memory leak in the XPath 3.1 Lookup Operator implementation#182
adamretter wants to merge 2 commits intodevelop-7.x.xfrom
7.x.x/hotfix/lookup-operator-memory-leak

Conversation

@adamretter
Copy link
Member

The Lookup Operator implementation previously did not free the reference to its lookup keys. This meant that its keys would be kept in-memory if the compiled query was sent to the XQuery Pool for reuse. This PR fixes that issue so that the memory is correctly freed when the query completes execution.

When combined with #176 this closes eXist-db/exist#5375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant