mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +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();
|
Stream->release();
|
||||||
}
|
}
|
||||||
delete Reader;
|
if (Reader != NULL)
|
||||||
|
{
|
||||||
|
delete Reader;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetStream(FMOD::Sound *stream)
|
void SetStream(FMOD::Sound *stream)
|
||||||
|
|
Loading…
Reference in a new issue