# HG changeset patch # User Eric Wing # Date 1289028465 25200 # Node ID 7ff36153215a5bc177c897e55b223f86bae0cd5f # Parent af33b35a55c12c2ed2c084e9964792e0acc481d0 Fixed 48-byte memory leak. diff -r af33b35a55c1 -r 7ff36153215a decoders/coreaudio.c --- a/decoders/coreaudio.c Sat Oct 23 22:35:38 2010 -0700 +++ b/decoders/coreaudio.c Sat Nov 06 00:27:45 2010 -0700 @@ -582,6 +582,7 @@ Sound_SampleInternal *internal = (Sound_SampleInternal *) sample->opaque; CoreAudioFileContainer* core_audio_file_container = (CoreAudioFileContainer *) internal->decoder_private; + free(core_audio_file_container->outputFormat); ExtAudioFileDispose(core_audio_file_container->extAudioFileRef); AudioFileClose(*core_audio_file_container->audioFileID); free(core_audio_file_container->audioFileID);