Index: src/nautilus-pathbar.c
===================================================================
--- src/nautilus-pathbar.c	(revision 15183)
+++ src/nautilus-pathbar.c	(working copy)
@@ -171,12 +171,13 @@
 		ButtonData *button_data;
 		button_data = BUTTON_DATA (list->data);
 		if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button_data->button))) {
-			path = button_data->path;
+			path = nautilus_file_get_location (button_data->file);
 			break;
 		}
         }
 	if (path != NULL) {
 		nautilus_path_bar_update_path (path_bar, path, TRUE);
+		g_object_unref (path);
 	}
 }
 
