changeset 6810:a4ed4e0464ba

10L free the cache
author albeu
date Fri, 26 Jul 2002 02:32:41 +0000
parents 0250f691037e
children 76595595dcb0
files libmpdemux/stream.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream.c	Fri Jul 26 02:04:11 2002 +0000
+++ b/libmpdemux/stream.c	Fri Jul 26 02:32:41 2002 +0000
@@ -276,6 +276,7 @@
 //    kill(s->cache_pid,SIGTERM);
     kill(s->cache_pid,SIGKILL);
     waitpid(s->cache_pid,NULL,0);
+    shmem_free(s->cache_data);
   }
   if(s->fd>0) close(s->fd);
   switch(s->type) {