Mercurial > audlegacy
changeset 792:ddb6e5dac908 trunk
[svn] - fix a memory leak here
author | nenolod |
---|---|
date | Fri, 03 Mar 2006 20:57:36 -0800 |
parents | 093965283548 |
children | 3c4bcd9b8719 |
files | Plugins/Input/adplug/core/ksm.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/adplug/core/ksm.cpp Fri Mar 03 20:43:06 2006 -0800 +++ b/Plugins/Input/adplug/core/ksm.cpp Fri Mar 03 20:57:36 2006 -0800 @@ -50,6 +50,7 @@ if(!fp.extension(filename, ".ksm")) { AdPlug_LogWrite("CksmPlayer::load(,\"%s\"): File doesn't have '.ksm' " "extension! Rejected!\n", filename.c_str()); + delete [] fn; return false; } AdPlug_LogWrite("*** CksmPlayer::load(,\"%s\") ***\n", filename.c_str());