From 89c276c962b7d6512930abab2d3270e4818d6151 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Fri, 12 Feb 2010 16:40:13 +0000 Subject: Fix a Memory leak in CoreAudio backend, around 2MB. Stops OpenCL from trying to decode CMPR textures, as it fails horribly. Fixes a memory leak in EXI devices, where the destructor wouldn't be called, causing a 32MB leak with memory cards(if you have two), and maybe a bit more from the other EXI devices git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5042 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp') diff --git a/Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp b/Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp index d336c833d3..680bc3a4d7 100644 --- a/Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp +++ b/Source/Core/AudioCommon/Src/CoreAudioSoundStream.cpp @@ -138,6 +138,7 @@ bool CoreAudioSound::CoreAudioInit() if(err) printf("Error while closing component\n"); + free(soundStruct); return true; } -- cgit v1.2.3