misc/libtremor/tremor/vorbisfile.c
branchhedgeroid
changeset 7859 519d5bc91dd3
parent 7849 a12155461b34
child 7941 1e8b7fc8f90d
equal deleted inserted replaced
7857:2bc61f8841a1 7859:519d5bc91dd3
   737     if(vf->pcmlengths)_ogg_free(vf->pcmlengths);
   737     if(vf->pcmlengths)_ogg_free(vf->pcmlengths);
   738     if(vf->serialnos)_ogg_free(vf->serialnos);
   738     if(vf->serialnos)_ogg_free(vf->serialnos);
   739     if(vf->offsets)_ogg_free(vf->offsets);
   739     if(vf->offsets)_ogg_free(vf->offsets);
   740     ogg_sync_destroy(vf->oy);
   740     ogg_sync_destroy(vf->oy);
   741 
   741 
   742     if(vf->datasource && vf->callbacks.close_func)
   742     if(vf->datasource)(vf->callbacks.close_func)(vf->datasource);
   743       (vf->callbacks.close_func)(vf->datasource);
       
   744     memset(vf,0,sizeof(*vf));
   743     memset(vf,0,sizeof(*vf));
   745   }
   744   }
   746 #ifdef DEBUG_LEAKS
   745 #ifdef DEBUG_LEAKS
   747   _VDBG_dump();
   746   _VDBG_dump();
   748 #endif
   747 #endif