summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorZhang Xianwei <[email protected]>2018-01-19 17:44:29 +0800
committerraveit65 <[email protected]>2018-01-23 13:51:23 +0100
commit4208dcb2bc9bf461b85674824533de8bb356a105 (patch)
treed45e91de643781edca2c23ae9fd27b11a9ac7e3a /capplets
parent605ad333f688549ddd9a6d7ecaa128793d819893 (diff)
downloadmate-control-center-4208dcb2bc9bf461b85674824533de8bb356a105.tar.bz2
mate-control-center-4208dcb2bc9bf461b85674824533de8bb356a105.tar.xz
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 <[email protected]>
Diffstat (limited to 'capplets')
-rw-r--r--capplets/appearance/theme-installer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c
index ad0a7484..4d261aff 100644
--- a/capplets/appearance/theme-installer.c
+++ b/capplets/appearance/theme-installer.c
@@ -491,6 +491,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;
}