From 5642efc49cb3f7b881d64a14277ab024fef7d102 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 2 Aug 2019 09:40:50 +0800 Subject: appearance: fix memory leak --- capplets/appearance/appearance-font.c | 1 + 1 file changed, 1 insertion(+) diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c index ab8e5938..528253fa 100644 --- a/capplets/appearance/appearance-font.c +++ b/capplets/appearance/appearance-font.c @@ -583,6 +583,7 @@ static void install_new_font (const gchar *filepath) g_free (basename); src = g_file_new_for_path (filepath); dst = g_file_new_for_path (fontpath); + g_free (fontpath); if (!g_file_copy (src, dst, -- cgit v1.2.1