moved the nautilus_file_unref() to the end of the function. Hopefully

2002-05-10  Damon Chaplin  <damon@ximian.com>

	* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
	moved the nautilus_file_unref() to the end of the function.
	Hopefully fixes bug #80207.
This commit is contained in:
Damon Chaplin 2002-05-10 18:49:04 +00:00 committed by Damon Chaplin
parent eb40f78290
commit d0cae5ea47
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2002-05-10 Damon Chaplin <damon@ximian.com>
* libnautilus-private/nautilus-directory-async.c (link_info_read_done):
moved the nautilus_file_unref() to the end of the function.
Hopefully fixes bug #80207.
2002-05-09 Damon Chaplin <damon@ximian.com>
* components/text/nautilus-text-view.c (read_file_callback): if the

View file

@ -2804,11 +2804,12 @@ link_info_read_done (NautilusDirectory *directory,
nautilus_file_ref (file);
link_info_done (directory, file, uri, name, icon);
nautilus_file_changed (file);
nautilus_file_unref (file);
if (!should_read_link_info_sync (file)) {
async_job_end (directory, "link info");
}
nautilus_file_unref (file);
}