Skip to content

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

Merged
adamretter merged 2 commits into
develop-7.x.xfrom
7.x.x/hotfix/lookup-operator-memory-leak
Apr 28, 2026
Merged

[7.x.x] Fix a memory leak in the XPath 3.1 Lookup Operator implementation#182
adamretter merged 2 commits into
develop-7.x.xfrom
7.x.x/hotfix/lookup-operator-memory-leak

Conversation

@adamretter

Copy link
Copy Markdown
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 closeseXist-db/exist#5375

@adamretteradamretter added this to the elemental-7.5.1 milestone Mar 10, 2026
@adamretteradamretter self-assigned this Mar 10, 2026
@adamretteradamretter added the bug Something isn't working label Mar 10, 2026
@adamretter
adamretter merged commit 6726e21 into develop-7.x.xApr 28, 2026
10 of 15 checks passed
@adamretter
adamretter deleted the 7.x.x/hotfix/lookup-operator-memory-leak branch April 28, 2026 12:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingcla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@adamretter