summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 02:32:41 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-26 02:32:41 +0000
commitc46636cafb3100988012c0454da15cd010e341f8 (patch)
treea6b538bdb967fb9846240a0001f02ab0e6b1b058 /libmpdemux
parent8e87a008b80a2c4c3445c98f60bc30c710984f34 (diff)
downloadmpv-c46636cafb3100988012c0454da15cd010e341f8.tar.bz2
mpv-c46636cafb3100988012c0454da15cd010e341f8.tar.xz
10L free the cache
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6811 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c
index 5d96414a7c..cbfd6781a4 100644
--- a/libmpdemux/stream.c
+++ b/libmpdemux/stream.c
@@ -276,6 +276,7 @@ void free_stream(stream_t *s){
// 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) {