From 3cb675119ab7ab7390f4ae6e7422551045a58208 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Thu, 17 Nov 2011 22:01:31 +0000 Subject: Fix possible memory leak in PeopsXGL Mac plug-in. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72393 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m') diff --git a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m index 39968406..72d81a31 100644 --- a/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m +++ b/macosx/plugins/PeopsXgl/macsrc/NetSfPeopsOpenGLPluginConfigController.m @@ -88,7 +88,7 @@ void PrepFactoryDefaultPreferences(void) // just create default preferences and save them. NSDictionary* defaultPrefs = - [[NSDictionary alloc] initWithObjectsAndKeys: + [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:NO], @"FPS Counter", [NSNumber numberWithBool:NO], @"Auto Full Screen", [NSNumber numberWithBool:NO], @"Frame Skipping", -- cgit v1.2.3