#include <glibmm/fileutils.h>
-#include "i18n.h"
+#include "pbd/i18n.h"
#include <AudioToolbox/AudioFormat.h>
#else
CFURLRef url = CFURLCreateFromFileSystemRepresentation (kCFAllocatorDefault, (const UInt8*)path.c_str (), strlen (path.c_str ()), false);
OSStatus res = ExtAudioFileOpenURL(url, &af);
- CFRelease (url);
+ if (url) CFRelease (url);
if (res != noErr) {
goto out;