diff src/vorbis/vorbis.c @ 655:6a656a7f40fa trunk

[svn] - fix double free bug in vorbis fileinfo.
author yaz
date Thu, 15 Feb 2007 17:04:00 -0800
parents 1fb44c12a812
children 96b884703411
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Thu Feb 15 15:18:39 2007 -0800
+++ b/src/vorbis/vorbis.c	Thu Feb 15 17:04:00 2007 -0800
@@ -1024,7 +1024,7 @@
     if (handle->probe == FALSE)
     {
         ret = vfs_fclose(handle->fd);
-	g_free(handle);
+//        g_free(handle); // it causes double free. i'm not really sure that commenting out at here is correct. --yaz
     }
 
     return ret;