From 506817952ce4f641ed70b113a1b17c9986d5b241 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 12 Oct 2019 15:32:18 +0200 Subject: MACOS: Fix crash in app menu creation --- backends/updates/macosx/macosx-updates.mm | 3 --- 1 file changed, 3 deletions(-) (limited to 'backends/updates') diff --git a/backends/updates/macosx/macosx-updates.mm b/backends/updates/macosx/macosx-updates.mm index 64dcbf62ce..bf524e5704 100644 --- a/backends/updates/macosx/macosx-updates.mm +++ b/backends/updates/macosx/macosx-updates.mm @@ -83,9 +83,6 @@ MacOSXUpdateManager::MacOSXUpdateManager() { // Set the target of the new menu item [updateMenuItem setTarget:sparkleUpdater]; - // Finally give up our references to the objects - [menuItem release]; - if (!ConfMan.hasKey("updates_check") || ConfMan.getInt("updates_check") == Common::UpdateManager::kUpdateIntervalNotSupported) { setAutomaticallyChecksForUpdates(kUpdateStateDisabled); -- cgit v1.2.3