summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-10 02:59:53 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-10-10 02:59:53 +0000
commit221dab875d4756a11ba1418a75a05b8b486968e7 (patch)
tree8c8217bb72d57f2467e53b76c31aba495831cf9a /macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
parent18fe428c13eca2fe18d7dc226ab5de9c08b02d2a (diff)
downloadpcsxr-221dab875d4756a11ba1418a75a05b8b486968e7.tar.gz
Quieting a warning found by Clang's static analyzer.
Properly clean up after ourselves. Our code doesn't use Carbon, and implicitly links to System.framework (which, on OS X, is just a pointer to libSystem). Don't include debugging symbols on release builds. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@80326 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFXVideo/macsrc/PluginConfigController.m')
-rw-r--r--macosx/plugins/DFXVideo/macsrc/PluginConfigController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
index 86355a06..f759a019 100644
--- a/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
+++ b/macosx/plugins/DFXVideo/macsrc/PluginConfigController.m
@@ -300,6 +300,8 @@ void ReadConfig(void)
}
if (resetPrefs) {
NSBundle *selfBundle = [NSBundle bundleWithIdentifier:APP_ID];
+ [vertexPath release];
+ [fragmentPath release];
vertexPath = [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slv"] retain];
fragmentPath = [[selfBundle URLForResource:@"gpuPeteOGL2" withExtension:@"slf"] retain];
}