core: Ensure we clean up leftover directories during merge
(Not sure why this regressed)
This commit is contained in:
parent
3ab69101f7
commit
32c8166b25
|
|
@ -276,6 +276,8 @@ ot_gfile_merge_dirs (GFile *destination,
|
||||||
else
|
else
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
(void) rmdir (ot_gfile_get_path_cached (src));
|
||||||
|
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
out:
|
out:
|
||||||
g_clear_object (&src_fileinfo);
|
g_clear_object (&src_fileinfo);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue