diff options
-rw-r--r-- | source/SoundTouchDLL/SoundTouchDLL.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/SoundTouchDLL/SoundTouchDLL.cpp b/source/SoundTouchDLL/SoundTouchDLL.cpp index 5dd28b9..447c4a3 100644 --- a/source/SoundTouchDLL/SoundTouchDLL.cpp +++ b/source/SoundTouchDLL/SoundTouchDLL.cpp @@ -88,17 +88,13 @@ SOUNDTOUCHDLL_API HANDLE __cdecl soundtouch_createInstance() SOUNDTOUCHDLL_API void __cdecl soundtouch_destroyInstance(HANDLE h)
{
- /*
STHANDLE *sth = (STHANDLE*)h;
if (sth->dwMagic != STMAGIC) return;
-*/
- /*
sth->dwMagic = 0;
- delete sth->pst;
+ if (sth->pst) delete sth->pst;
sth->pst = NULL;
delete sth;
-*/
}
|