|
1)I detected there are memory leak when use the some logic
combianation of DOMString::equals().Give examples as below:
a) if (!s.equals("request")&&!s.equals("response"))
...//memory leak
b) if
(!s.equals(DOMString("request"))&&!s.equals(DOMString("response")))
...//memory leak
b)DOMString s1("request"),s2("respone");
if (!s.equals(s1)&&!s.equals(s2)) ...//normally Both case 1 and 2,Memory leak occurs.not in case
3.
2)After calling XMLPlatformUtils::Terminate() to cleanup
Xerces environment,I reinitalize Xerces,that when I try new a DOMParser
application run out a exception.I uncertainly consider it's a bug,at least a
short.
|
