Actions
Bug #6349
closedPython PyXdmNode.childen property not releasing objects
Start date:
2024-02-16
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
12
Fixed in Maintenance Release:
Found in version:
12.4.2
Fixed in version:
12.5
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
In the SaxonC python extension the PyXdmNode.children
method call correctly creates the child nodes, but there is no memory management in place to properly releasing objects when no londer in use.
It is possible that a similar problem can happen in the PHP extenssion too.
Updated by O'Neil Delpratt 10 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug now fixed. We have add internal logic to increase the children ref counts for the parent object (only set once). Repeated calls on the getChildren will return a cached array of child nodes.
Updated by O'Neil Delpratt 5 months ago
- Status changed from Resolved to Closed
- Fixed in version set to 12.5
Bug fix applied in the Saxon 12.5 Maintenance release.
Please register to edit this issue
Actions