core: Ensure we clean up leftover directories during merge

(Not sure why this regressed)
This commit is contained in:
Colin Walters 2011-12-02 17:58:45 -05:00
parent 3ab69101f7
commit 32c8166b25
1 changed files with 2 additions and 0 deletions

View File

@ -276,6 +276,8 @@ ot_gfile_merge_dirs (GFile *destination,
else
goto out;
(void) rmdir (ot_gfile_get_path_cached (src));
ret = TRUE;
out:
g_clear_object (&src_fileinfo);