Mercurial > mplayer.hg
changeset 5501:8336b1cf8d70
Free fix by kisg@lme.linux.hu
author | atmos4 |
---|---|
date | Sat, 06 Apr 2002 15:38:28 +0000 |
parents | ffcc77f10c81 |
children | 9cecf4b10a4b |
files | libao2/pl_surround.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }