summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/input_gnome_vfs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input/input_gnome_vfs.c b/src/input/input_gnome_vfs.c
index 9252e0a8b..34f9a4056 100644
--- a/src/input/input_gnome_vfs.c
+++ b/src/input/input_gnome_vfs.c
@@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_gnome_vfs.c,v 1.18 2004/03/01 00:17:28 hadess Exp $
+ * $Id: input_gnome_vfs.c,v 1.19 2004/03/01 00:22:31 hadess Exp $
*/
@@ -189,9 +189,10 @@ gnomevfs_plugin_get_length (input_plugin_t *this_gen)
gnome_vfs_file_info_unref (info);
D ("gnomevfs_plugin_get_length: %lld", length);
return length;
- } else {
- return 0;
}
+
+ gnome_vfs_file_info_unref (info);
+ return 0;
}
static uint32_t