summaryrefslogtreecommitdiff
path: root/macosx/Plugin.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-19 02:25:15 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-19 02:25:15 +0000
commit3fc56dbe4ad7e9deaeaef8c209a68e1de986f6fa (patch)
treec27c3a79fb402b0b3e47f23b434baddc4ce8a5c6 /macosx/Plugin.c
parentbc54761a4332b875e1962a21f2858db598fa7c18 (diff)
downloadpcsxr-3fc56dbe4ad7e9deaeaef8c209a68e1de986f6fa.tar.gz
-Reverted some changes to make the code build again on Tiger.
-Removed x86_64 from Deployment configuration. -macosx: Use SDL for sound plugin, removed Carbon backend. -(MaddTheSane)Fixed memory leaks (Patch #8427). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63548 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/Plugin.c')
-rw-r--r--macosx/Plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/Plugin.c b/macosx/Plugin.c
index 4710b057..9b83da68 100644
--- a/macosx/Plugin.c
+++ b/macosx/Plugin.c
@@ -80,7 +80,10 @@ int _OpenPlugins() {
pathUrl = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("gpuPeopsSoftX.cfg"), NULL, NULL);
if (pathUrl)
+ {
CFURLGetFileSystemRepresentation(pathUrl, true, path, 1024);
+ CFRelease(pathUrl);
+ }
ret = CDR_open();
if (ret < 0) { SysMessage(_("Error Opening CDR Plugin")); return -1; }