[MPlayer-cvslog] r30403 - trunk/stream/stream.c

reimar subversion at mplayerhq.hu
Sat Jan 23 13:21:07 CET 2010


Author: reimar
Date: Sat Jan 23 13:21:07 2010
New Revision: 30403

Log:
Call cache-uninit unconditionally, it should always be safe to call.

Modified:
   trunk/stream/stream.c

Modified: trunk/stream/stream.c
==============================================================================
--- trunk/stream/stream.c	Sat Jan 23 13:13:28 2010	(r30402)
+++ trunk/stream/stream.c	Sat Jan 23 13:21:07 2010	(r30403)
@@ -433,9 +433,7 @@ stream_t* new_stream(int fd,int type){
 void free_stream(stream_t *s){
 //  printf("\n*** free_stream() called ***\n");
 #ifdef CONFIG_STREAM_CACHE
-  if(s->cache_pid) {
     cache_uninit(s);
-  }
 #endif
   if(s->close) s->close(s);
   if(s->fd>0){


More information about the MPlayer-cvslog mailing list