this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

AudioToolbox: Fix a CFBundle leak

+5 -1
+5 -1
src/CoreAudio/AudioToolbox/AudioComponentManager.mm
··· 56 56 CFRelease(urlDir); 57 57 58 58 for (CFIndex i = 0; i < CFArrayGetCount(componentBundles); i++) 59 - analyzeComponent((CFBundleRef) CFArrayGetValueAtIndex(componentBundles, i)); 59 + { 60 + CFBundleRef bundle = (CFBundleRef) CFArrayGetValueAtIndex(componentBundles, i); 61 + analyzeComponent(bundle); 62 + CFRelease(bundle); 63 + } 60 64 61 65 CFRelease(componentBundles); 62 66 }