From ec443944becf65c1f2db33fa9f8ca20fa658c683 Mon Sep 17 00:00:00 2001 From: Zhang Xianwei Date: Fri, 19 Jan 2018 17:44:29 +0800 Subject: theme-installer.c: missing g_object_unref in mate_theme_install_real Object should be free when use g_file_new_for_path. Signed-off-by: Zhang Xianwei --- capplets/appearance/theme-installer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c index dcb899ac..8d9a0f41 100644 --- a/capplets/appearance/theme-installer.c +++ b/capplets/appearance/theme-installer.c @@ -495,6 +495,8 @@ mate_theme_install_real (GtkWindow *parent, } g_free (target_dir); + g_object_unref (theme_source_dir); + g_object_unref (theme_dest_dir); return success; } -- cgit v1.2.1