diff options
author | Eugene Sandulenko | 2019-10-12 15:32:18 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-12 15:32:18 +0200 |
commit | 506817952ce4f641ed70b113a1b17c9986d5b241 (patch) | |
tree | e1fb557d29fa731e4ef039238d6228abeffc394a /backends/updates/macosx | |
parent | 6ab0ce1b02baf12f3a4153d1740c3da6887fe3d1 (diff) | |
download | scummvm-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/macosx')
-rw-r--r-- | backends/updates/macosx/macosx-updates.mm | 3 |
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); |