Removed memory leak
This commit is contained in:
parent
22be572855
commit
d9f45c16d6
@ -110,6 +110,8 @@ namespace cAudio
|
||||
|
||||
CAUDIO_API void destroyAudioManager(IAudioManager* manager)
|
||||
{
|
||||
if(FileLog not_eq nullptr)
|
||||
delete FileLog;
|
||||
if(manager)
|
||||
{
|
||||
#ifdef CAUDIO_COMPILE_WITH_PLUGIN_SUPPORT
|
||||
|
Loading…
Reference in New Issue
Block a user