diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-10-10 02:59:53 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-10-10 02:59:53 +0000 |
| commit | 221dab875d4756a11ba1418a75a05b8b486968e7 (patch) | |
| tree | 8c8217bb72d57f2467e53b76c31aba495831cf9a /macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | |
| parent | 18fe428c13eca2fe18d7dc226ab5de9c08b02d2a (diff) | |
| download | pcsxr-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.m | 2 |
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]; } |
