summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjenglish@flightlab.com <jenglish>2007-05-15 19:37:58 (GMT)
committerjenglish@flightlab.com <jenglish>2007-05-15 19:37:58 (GMT)
commitb111c72c0628aec6dbe0011d520e35e95065d046 (patch)
tree99f311f6eb1c41041e551e0fe8cc9dc62873b2e6 /unix
parent07c2483ee577c551ffcadcf725e5abfbbb1cbb98 (diff)
downloadtk-b111c72c0628aec6dbe0011d520e35e95065d046.zip
tk-b111c72c0628aec6dbe0011d520e35e95065d046.tar.gz
tk-b111c72c0628aec6dbe0011d520e35e95065d046.tar.bz2
Fix crash introduced by previous fix, exposed under newer fontconfig
libraries [Bug 1717830 again].
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixRFont.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c
index f76213e..0913fa1 100644
--- a/unix/tkUnixRFont.c
+++ b/unix/tkUnixRFont.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixRFont.c,v 1.19 2007/05/15 16:15:54 jenglish Exp $
+ * RCS: @(#) $Id: tkUnixRFont.c,v 1.20 2007/05/15 19:37:58 jenglish Exp $
*/
#include "tkUnixInt.h"
@@ -248,9 +248,6 @@ FinishedWithFont(
if (fontPtr->faces[i].ftFont) {
XftFontClose(fontPtr->display, fontPtr->faces[i].ftFont);
}
- if (fontPtr->faces[i].source) {
- FcPatternDestroy(fontPtr->faces[i].source);
- }
if (fontPtr->faces[i].charset) {
FcCharSetDestroy(fontPtr->faces[i].charset);
}