changeset 5050:b6d83ac1e3e0

Bugfix for sig11 when playing multiple files
author anders
date Tue, 12 Mar 2002 06:32:02 +0000
parents e080a8d5019f
children 0515832e6eab
files libao2/ao_plugin.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_plugin.c	Tue Mar 12 01:32:46 2002 +0000
+++ b/libao2/ao_plugin.c	Tue Mar 12 06:32:02 2002 +0000
@@ -186,8 +186,10 @@
     plugin(i++)->uninit();
   if(ao_plugin_local_data.plugins)
     free(ao_plugin_local_data.plugins);
+  ao_plugin_local_data.plugins=NULL;
   if(ao_plugin_local_data.buf)
     free(ao_plugin_local_data.buf);
+  ao_plugin_local_data.buf=NULL;
 }
 
 // stop playing and empty buffers (for seeking/pause)