return r;
if (GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE
!=(r=captive_sandbox_parent_file_move(captive_file_parent_object_old,pathname_new,force_replace))) {
- if (GNOME_VFS_OK==r)
+ if (GNOME_VFS_OK==r) {
+ g_free(captive_file_parent_object_old->pathname);
+ captive_file_parent_object_old->pathname=g_strdup(pathname_new);
captive_parent_connector_set_dirty(CAPTIVE_PARENT_CONNECTOR(captive_file_parent_object_old));
+ }
return r;
}
} while (!retried++);