diff options
author | Zhang Xianwei <[email protected]> | 2018-01-19 17:44:29 +0800 |
---|---|---|
committer | monsta <[email protected]> | 2018-03-18 11:14:05 +0300 |
commit | ec443944becf65c1f2db33fa9f8ca20fa658c683 (patch) | |
tree | 78864151fbb184b50be19403d11d60218b5bddcf /capplets | |
parent | 39f475f56a88e76456dead978e889e7e43060804 (diff) | |
download | mate-control-center-ec443944becf65c1f2db33fa9f8ca20fa658c683.tar.bz2 mate-control-center-ec443944becf65c1f2db33fa9f8ca20fa658c683.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.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |