~vcs-imports/evolution-data-server/trunk

Viewing all changes in revision 15450.

  • Committer: Milan Crha
  • Date: 2017-10-04 07:37:29 UTC
  • Revision ID: git-v1:4ee08887ff781b6cf6351f24f184f3fbbef3e7eb
Initialize libxml2 global memory in the main()

There could happen crashes in libxml2 when being used for the first
time in multiple threads at once, like with xmlFindCharEncodingHandler()
function. This and some others require initialization in the main thread.

One example of such crash can be found in a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1380268

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: