From 73dea88956982bde9257946545babc9dedc52bda Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 23 Jan 2010 12:21:07 +0000 Subject: [PATCH] Call cache-uninit unconditionally, it should always be safe to call. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30403 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/stream/stream.c b/stream/stream.c index ed41b3e93a..819b04d9f6 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -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){