# HG changeset patch # User reimar # Date 1264249267 0 # Node ID ca1eae448911da80bd938f492d50706868cfa09b # Parent c74a5f8ffab3ebb72e867073a28489be93f4137c Call cache-uninit unconditionally, it should always be safe to call. diff -r c74a5f8ffab3 -r ca1eae448911 stream/stream.c --- a/stream/stream.c Sat Jan 23 12:13:28 2010 +0000 +++ b/stream/stream.c Sat Jan 23 12:21:07 2010 +0000 @@ -433,9 +433,7 @@ 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){