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,8 +331,11 @@ public:
|
|||
{
|
||||
Stream->release();
|
||||
}
|
||||
if (Reader != NULL)
|
||||
{
|
||||
delete Reader;
|
||||
}
|
||||
}
|
||||
|
||||
void SetStream(FMOD::Sound *stream)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue