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.
Please register to edit this issue
Actions