# HG changeset patch # User atmos4 # Date 1018107508 0 # Node ID 8336b1cf8d7048a6f30a03c4380bb4c7e5e37cdd # Parent ffcc77f10c812d053a89004a7612879c70171a63 Free fix by kisg@lme.linux.hu diff -r ffcc77f10c81 -r 8336b1cf8d70 libao2/pl_surround.c --- a/libao2/pl_surround.c Sat Apr 06 14:06:33 2002 +0000 +++ b/libao2/pl_surround.c Sat Apr 06 15:38:28 2002 +0000 @@ -148,8 +148,10 @@ free(pl_surround.Ls_delaybuf); if(pl_surround.Rs_delaybuf) free(pl_surround.Rs_delaybuf); - if(pl_surround.databuf) + if(pl_surround.databuf) { free(pl_surround.databuf); + pl_surround.databuf = NULL; + } pl_surround.delaybuf_len=0; }