Navigation Menu

Skip to content

Commit

Permalink
Fixed 48-byte memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Wing committed Nov 6, 2010
1 parent 8280252 commit f6466c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decoders/coreaudio.c
Expand Up @@ -582,6 +582,7 @@ static void CoreAudio_close(Sound_Sample *sample)
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);
Expand Down

0 comments on commit f6466c7

Please sign in to comment.