From bdd10de6f7493041cfc9a0f4f9d4c6f9c8396e92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 9 Jul 2006 10:56:20 +0000 Subject: [PATCH] * xfaces.c (realize_non_ascii_face): Set face->extra to NULL. --- src/xfaces.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xfaces.c b/src/xfaces.c index 7a5f6edfc32..43d1352f335 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -7651,6 +7651,9 @@ realize_non_ascii_face (f, font_id, base_face) face = (struct face *) xmalloc (sizeof *face); *face = *base_face; face->gc = 0; +#ifdef USE_FONT_BACKEND + face->extra = NULL; +#endif /* Don't try to free the colors copied bitwise from BASE_FACE. */ face->colors_copied_bitwise_p = 1; -- 2.39.5