From 221dab875d4756a11ba1418a75a05b8b486968e7 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 10 Oct 2012 02:59:53 +0000 Subject: 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 --- macosx/plugins/DFXVideo/macsrc/PluginConfigController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'macosx/plugins/DFXVideo/macsrc/PluginConfigController.m') 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]; } -- cgit v1.2.3