aboutsummaryrefslogtreecommitdiff
path: root/backends/updates
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-12 15:32:18 +0200
committerEugene Sandulenko2019-10-12 15:32:18 +0200
commit506817952ce4f641ed70b113a1b17c9986d5b241 (patch)
treee1fb557d29fa731e4ef039238d6228abeffc394a /backends/updates
parent6ab0ce1b02baf12f3a4153d1740c3da6887fe3d1 (diff)
downloadscummvm-rg350-506817952ce4f641ed70b113a1b17c9986d5b241.tar.gz
scummvm-rg350-506817952ce4f641ed70b113a1b17c9986d5b241.tar.bz2
scummvm-rg350-506817952ce4f641ed70b113a1b17c9986d5b241.zip
MACOS: Fix crash in app menu creation
Diffstat (limited to 'backends/updates')
-rw-r--r--backends/updates/macosx/macosx-updates.mm3
1 files changed, 0 insertions, 3 deletions
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);