mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- added a NULL check to FMODStreamCapsule destructor, just to be safe.
This commit is contained in:
parent
a23afbd7ce
commit
8e70a9b894
1 changed files with 4 additions and 1 deletions
|
@ -331,7 +331,10 @@ public:
|
|||
{
|
||||
Stream->release();
|
||||
}
|
||||
delete Reader;
|
||||
if (Reader != NULL)
|
||||
{
|
||||
delete Reader;
|
||||
}
|
||||
}
|
||||
|
||||
void SetStream(FMOD::Sound *stream)
|
||||
|
|
Loading…
Reference in a new issue