> For example, in the destructor of DSIGSignature, we have :  delete[] 
> mp_ecPrefixNS;
> It generates a bug .

Just curious, what did it do?

> if  i replace with the code :     XMLString::release(&mp_ecPrefixNS);
> i haven't got the problem.
> 
> Have you got an idea ? did i have bad compilation parameters ?

Technically, delete[] is wrong, as of Xerces 2.3, because the memory manager
is potentially pluggable. In practice, it rarely matters, but I've started
the process of cleaning up the opensaml code to use release. XMLSec probably
should also...

-- Scott

Reply via email to