Removed memory leak

This commit is contained in:
Brigham Keys, Esq 2016-08-01 17:09:32 -05:00
parent 22be572855
commit d9f45c16d6

View File

@ -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