diff options
author | Wu Xiaotian <[email protected]> | 2019-08-02 09:40:50 +0800 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-08-02 10:05:32 +0200 |
commit | 5642efc49cb3f7b881d64a14277ab024fef7d102 (patch) | |
tree | f7e0bd45af5aea9428b4b2e32100203db412f2e9 /capplets/appearance/appearance-font.c | |
parent | 5e0c0f43be12a992875bd68121371d157eb2ccbb (diff) | |
download | mate-control-center-5642efc49cb3f7b881d64a14277ab024fef7d102.tar.bz2 mate-control-center-5642efc49cb3f7b881d64a14277ab024fef7d102.tar.xz |
appearance: fix memory leak
Diffstat (limited to 'capplets/appearance/appearance-font.c')
-rw-r--r-- | capplets/appearance/appearance-font.c | 1 |
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, |