Hey,

in the destructor of a globalParams, fontconfig is not shut dows while it 
is initialized in the constructor.

Here is a patch:


diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 9c42f36..4e935dc 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -835,6 +835,10 @@ GlobalParams::~GlobalParams() {
    gDestroyMutex(&unicodeMapCacheMutex);
    gDestroyMutex(&cMapCacheMutex);
  #endif
+
+#ifndef _MSC_VER
+  FcFini();
+#endif
  }


//------------------------------------------------------------------------



I'm not sure that one should also call

FcConfigDestroy(FCcfg);

before FcFini().

regards

Vincent Torri
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to