hi im creating a soundboard and everything works fine when running the app but i have many memory leaks can someone see whats wrong?
.m
Code:
-(IBAction)oldskool {
CFBundleRef mainBundle = CFBundleGetMainBundle();
CFURLRef soundFileURLRef;
soundFileURLRef = CFBundleCopyResourceURL(mainBundle, (CFStringRef) @"oldskool",CFSTR ("wav"),NULL);
UInt32 soundID;
AudioServicesCreateSystemSoundID(soundFileURLRef, &soundID);
AudioServicesPlaySystemSound(soundID);
}