Commit e34a49b78eebf34009d727b99de47acee5698351

Nick Wellnhofer 2023-12-10T16:29:31

valid: Improve addition and deletion of IDs Introduce a new API function xmlAddIDSafe that returns a separate error code if a memory allocation fails. Store a pointer to the ID struct in xmlAttr so attributes can be freed without allocating memory. It's impossible to report malloc failures in deallocation code.