summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
commit14285cb801c5ba965fdb89c44e8c27d912edfe4b (patch)
tree0fc6f519aab10916524e1943918115903c68924f /src/gui_gtk_x11.c
parent2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374 (diff)
patch 8.2.0464: typos and other small problemsv8.2.0464
Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index ef930a5664..ea43c93850 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -4743,6 +4743,8 @@ is_cjk_font(PangoFontDescription *font_desc)
PangoCoverage *coverage;
gunichar uc;
+ // Valgrind reports a leak for pango_language_from_string(), but the
+ // documentation says "This is owned by Pango and should not be freed".
coverage = pango_font_get_coverage(
font, pango_language_from_string(cjk_langs[i]));