summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/appearance/appearance-font.c1
1 files changed, 1 insertions, 0 deletions
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,