gnome_vfs_close implicitly destroys the handle
authorWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 11:48:26 +0000 (11:48 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 11:48:26 +0000 (11:48 +0000)
Original commit message from CVS:
gnome_vfs_close implicitly destroys the handle

ext/gnomevfs/gstgnomevfssrc.c

index af9e3d2..43e61c3 100644 (file)
@@ -540,7 +540,6 @@ static void gst_gnomevfssrc_close_file(GstGnomeVFSSrc *src)
                close(src->fd);
        } else {
                gnome_vfs_close(src->handle);
-               gnome_vfs_handle_destroy(src->handle);
        }
 
        /* zero out a lot of our state */