-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix some leaks in XML DynamicTypes Parser (#4717) (#4735) * Fix some leaks in XML DynamicTypes Parser (#4717) * Refs #20732. Add regression test. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLAliasDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLBitsetDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLBitmaskDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLEnumDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLStructDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Fixes on parseXMLUnionDynamicType. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20372. Return error when `insertDynamicTypeByName` fails. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20372. Fail parsing for empty name attributes. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Move implementation of `DeleteInstance` to source file. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #20732. Delete registered dynamic type builders in `XMLProfileManager::DeleteInstance()`. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 8cb447b) # Conflicts: # include/fastrtps/xmlparser/XMLProfileManager.h # test/unittest/xmlparser/XMLParserTests.cpp * Fix conflicts Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 04e90a2) * Use old log macros Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
- Loading branch information
1 parent
f8d09ba
commit 87c052a
Showing
5 changed files
with
113 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.