Merge "Track libxml2 API changes." am: 3096c58650 am: d21a771983

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2089706

Change-Id: I4bca5b13916b65bfd1681c5d9929daa606a33d6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sadaf Ebrahimi
2022-05-12 00:54:52 +00:00
committed by Automerger Merge Worker

View File

@@ -63,11 +63,8 @@ struct Libxml2Global {
xmlSetGenericErrorFunc(this, errorCb);
}
~Libxml2Global() {
// TODO: check if all those cleanup are needed
xmlSetGenericErrorFunc(nullptr, nullptr);
xmlSchemaCleanupTypes();
xmlCleanupParser();
xmlCleanupThreads();
}
const std::string& getErrors() { return errors; }