Commit a5fb7a1c authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Check that window_location != NULL. Probaby fixes #131048

2004-02-11  Alexander Larsson  <alexl@redhat.com>

	* src/nautilus-application.c (nautilus_application_get_existing_spatial_window):
	Check that window_location != NULL. Probaby fixes #131048

=== nautilus 2.5.7 ===
parent 19585340
2004-02-11 Alexander Larsson <alexl@redhat.com>
* src/nautilus-application.c (nautilus_application_get_existing_spatial_window):
Check that window_location != NULL. Probaby fixes #131048
=== nautilus 2.5.7 ===
2004-02-11 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-factory.c (load_thumbnail_frame):
......
=== nautilus 2.5.7 ===
2004-02-10 Pauli Virtanen <pauli.virtanen@hut.fi>
* fi.po: Updated Finnish translation.
......
......@@ -831,7 +831,8 @@ nautilus_application_get_existing_spatial_window (const char *location)
char *window_location;
window_location = nautilus_window_get_location (NAUTILUS_WINDOW (l->data));
if (!strcmp (location, window_location)) {
if (window_location != NULL &&
strcmp (location, window_location) == 0) {
g_free (window_location);
return NAUTILUS_SPATIAL_WINDOW (l->data);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment