Commit 6529dfeb authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Don't close handle and free buffer twice on error. (#321175)

2006-11-06  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-icon-view.c (play_file):
	Don't close handle and free buffer twice on error. (#321175)
parent 6246b5cc
2006-11-06 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-icon-view.c (play_file):
Don't close handle and free buffer twice on error. (#321175)
2006-11-06 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file.c (nautilus_file_new_from_relative_uri):
......
......@@ -1829,8 +1829,6 @@ play_file (gpointer callback_data)
READ_CHUNK_SIZE,
&bytes_read);
if (result != GNOME_VFS_OK && result != GNOME_VFS_ERROR_EOF) {
g_free (buffer);
gnome_vfs_close (handle);
break;
}
......
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