Actions
Bug #6195
closedSources node objects not deleted in the C++ Schema validation samples
Start date:
2023-09-14
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.3
Fixed in version:
12.4
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Reported by user in the forum post https://saxonica.plan.io/boards/4/topics/9525
Some of the C++ Schema Validation samples in testValidator.cpp we are not deleting the created source node objects at the end of the test run. if not deleted causes memory leak because it is the responsibility of the user to delete it and not the SchemaValidator class.
The documentation for the SchemaValidator.setSourceNode() needs updating to make it clear the user needs to delete the source node object.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug fixed in testValidator.cpp and updated documentation of SchemaValidator.setSourceNode()
Updated by O'Neil Delpratt about 1 year ago
- Status changed from Resolved to Closed
- Fixed in version set to 12.4
Bug fix applied in the SaxonC 12.4 Maintenance release
Please register to edit this issue
Actions