[PATCH v2 2/3] dlls/xmllite: Handle possible memory allocation failures