blob: 43fd152a745df2b77477f5f5b6ead46d748dea1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- mozilla/gfx/src/gtk/nsFontMetricsXft.cpp 2005-09-26 20:39:02.000000000 +0200
+++ mozilla.az/gfx/src/gtk/nsFontMetricsXft.cpp 2005-09-26 20:34:34.000000000 +0200
@@ -2775,10 +2779,14 @@ FreeGlobals(void)
NS_IF_RELEASE(gFontEncodingProperties);
NS_IF_RELEASE(gCharsetManager);
gCTLEnabled = PR_FALSE;
- if (gPangoContext)
+ if (gPangoContext) {
g_object_unref(gPangoContext);
- if (gPangoAttrList)
+ gPangoContext = nsnull;
+ }
+ if (gPangoAttrList) {
pango_attr_list_unref(gPangoAttrList);
+ gPangoAttrList = nsnull;
+ }
gFontXftMaps.Clear();
|