Forgot to apply the macro on the delete, everything should be fine now

This commit is contained in:
Brigham Keys, Esq 2016-08-02 12:24:38 -05:00
parent 2e0bba4048
commit 2a790c34da
1 changed files with 2 additions and 0 deletions

View File

@ -113,8 +113,10 @@ namespace cAudio
CAUDIO_API void destroyAudioManager(IAudioManager* manager)
{
#if CAUDIO_COMPILE_WITH_FILE_LOG_RECEIVER == 1
if(FileLog not_eq nullptr)
delete FileLog;
#endif
if(manager)
{
#ifdef CAUDIO_COMPILE_WITH_PLUGIN_SUPPORT