Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xerces-c
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cinema-developers
xerces-c
Commits
873fe028
Commit
873fe028
authored
2 years ago
by
Scott Cantor
Browse files
Options
Downloads
Patches
Plain Diff
XERCESC-2214 - Wrong delete[] in MemBufInputSource dtor
https://issues.apache.org/jira/browse/XERCESC-2214
parent
2a64a944
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xercesc/framework/MemBufInputSource.hpp
+5
-3
5 additions, 3 deletions
src/xercesc/framework/MemBufInputSource.hpp
with
5 additions
and
3 deletions
src/xercesc/framework/MemBufInputSource.hpp
+
5
−
3
View file @
873fe028
...
@@ -48,9 +48,11 @@ class BinInputStream;
...
@@ -48,9 +48,11 @@ class BinInputStream;
*
*
* The passed buffer can be adopted or merely referenced. If it is adopted,
* The passed buffer can be adopted or merely referenced. If it is adopted,
* then it must be dynamically allocated and will be destroyed when the
* then it must be dynamically allocated and will be destroyed when the
* input source is destroyed (no reference counting!.) If not adopted, the
* input source is destroyed (no reference counting!.) Note that the
* caller must insure that it remains valid until the input source object
* deallocation assumes that array deletion should be performed, so do
* is destroyed.
* not pass a non-array-allocated buffer if asking for adoption.
* If not adopted, the caller must insure that it remains valid until the
* input source object is destroyed.
*
*
* The other option indicates whether each stream created for this input
* The other option indicates whether each stream created for this input
* source should get its own copy of the data, or whether it should just
* source should get its own copy of the data, or whether it should just
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment