Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3096c586 authored by Sadaf Ebrahimi's avatar Sadaf Ebrahimi Committed by Gerrit Code Review
Browse files

Merge "Track libxml2 API changes."

parents e25b3b17 2aa03ce7
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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; }