misc/libtremor/tremor/vorbisfile.c
branchhedgeroid
changeset 7859 519d5bc91dd3
parent 7849 a12155461b34
child 7941 1e8b7fc8f90d
--- a/misc/libtremor/tremor/vorbisfile.c	Sun Oct 28 15:12:37 2012 +0100
+++ b/misc/libtremor/tremor/vorbisfile.c	Sun Oct 28 15:15:39 2012 +0100
@@ -739,8 +739,7 @@
     if(vf->offsets)_ogg_free(vf->offsets);
     ogg_sync_destroy(vf->oy);
 
-    if(vf->datasource && vf->callbacks.close_func)
-      (vf->callbacks.close_func)(vf->datasource);
+    if(vf->datasource)(vf->callbacks.close_func)(vf->datasource);
     memset(vf,0,sizeof(*vf));
   }
 #ifdef DEBUG_LEAKS