--- libnautilus-private/nautilus-file-operations.c	2005-08-25 10:28:10.000000000 +0200
+++ libnautilus-private/nautilus-file-operations.c.new	2005-10-13 01:12:52.000000000 +0200
@@ -1858,8 +1858,8 @@
 		source_dir_uri = gnome_vfs_uri_get_parent (source_uri);
 		target_uri = NULL;
 		if (target_dir != NULL) {
-			if (target_is_trash) {
-				gnome_vfs_find_directory (source_uri, GNOME_VFS_DIRECTORY_KIND_TRASH,
+			if (target_is_trash && source_dir_uri != NULL) {
+				gnome_vfs_find_directory (source_dir_uri, GNOME_VFS_DIRECTORY_KIND_TRASH,
 							  &target_dir_uri, FALSE, FALSE, 0777);			
 			}
 			if (target_dir_uri != NULL) {
