Skip to content

Commit

Permalink
Forgot to apply the macro on the delete, everything should be fine now
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeys committed Aug 2, 2016
1 parent 2e0bba4 commit 2a790c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cAudio/src/cAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a790c3

Please sign in to comment.