summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@users.sourceforge.net>2004-03-01 00:22:31 +0000
committerBastien Nocera <hadess@users.sourceforge.net>2004-03-01 00:22:31 +0000
commit54d14216a0bfb750cd72882a63135a8d400b9ef5 (patch)
treec5d22bb928c424903bed8b31af47fcfa94cff133 /src
parenta0104609c0738aa98b6f255dc0fdbac5e667ee22 (diff)
downloadxine-lib-54d14216a0bfb750cd72882a63135a8d400b9ef5.tar.gz
xine-lib-54d14216a0bfb750cd72882a63135a8d400b9ef5.tar.bz2
- oops, we're leaking!
CVS patchset: 6198 CVS date: 2004/03/01 00:22:31
Diffstat (limited to 'src')
-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