nautilus r14732 - in trunk: . src
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14732 - in trunk: . src
- Date: Fri, 17 Oct 2008 10:24:53 +0000 (UTC)
Author: alexl
Date: Fri Oct 17 10:24:53 2008
New Revision: 14732
URL: http://svn.gnome.org/viewvc/nautilus?rev=14732&view=rev
Log:
2008-10-17 Alexander Larsson <alexl redhat com>
* src/nautilus-window-manage-views.c
(nautilus_window_slot_open_location_full):
Don't unref NULL, which can happen if !do_load_location
Modified:
trunk/ChangeLog
trunk/src/nautilus-window-manage-views.c
Modified: trunk/src/nautilus-window-manage-views.c
==============================================================================
--- trunk/src/nautilus-window-manage-views.c (original)
+++ trunk/src/nautilus-window-manage-views.c Fri Oct 17 10:24:53 2008
@@ -616,7 +616,9 @@
if ((!do_load_location) ||
(target_window == window && target_slot == slot &&
old_location && g_file_equal (old_location, location))) {
- g_object_unref (old_location);
+ if (old_location) {
+ g_object_unref (old_location);
+ }
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]