[ https://issues.apache.org/jira/browse/XERCESC-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor reassigned XERCESC-2214: ------------------------------------- Assignee: Scott Cantor > Wrong delete[] in MemBufInputSource dtor > ---------------------------------------- > > Key: XERCESC-2214 > URL: https://issues.apache.org/jira/browse/XERCESC-2214 > Project: Xerces-C++ > Issue Type: Bug > Components: Miscellaneous > Affects Versions: 3.2.3 > Reporter: Tobias Elbrandt > Assignee: Scott Cantor > Priority: Minor > Fix For: 3.2.4 > > > Our address sanatizer found a mismatching delete[] for memory allocated via > {{new}} (not {{new[]}}) in the destructor of > {color:#000000}MemBufInputSource{color}. > I looked at the code to find places where {{new[]}} is used which would make > it necessary to use {{delete[]}} instead of {{delete}} - without success. It > seems to me that using {{delete[]}} is simply wrong here. > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org