diff options
author | Zhang Xianwei <[email protected]> | 2018-01-19 17:44:29 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-23 13:51:23 +0100 |
commit | 4208dcb2bc9bf461b85674824533de8bb356a105 (patch) | |
tree | d45e91de643781edca2c23ae9fd27b11a9ac7e3a /capplets/appearance | |
parent | 605ad333f688549ddd9a6d7ecaa128793d819893 (diff) | |
download | mate-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/appearance')
-rw-r--r-- | capplets/appearance/theme-installer.c | 2 |
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; } |