diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-22 22:17:04 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-22 22:17:04 +0400 |
commit | 459c5d20459764b7473d844e691f14d835c9bd16 (patch) | |
tree | ba48375dc9d471ea0c5e3b73fc3ba872883c2c12 /intern | |
parent | dfc0afb5b8b2cf432159bf801733f97d3dbdc495 (diff) |
OSX: as we cannot be sure to have ARC, better release allocated notification
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index f95a23f358d..44b3c5b2a81 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -1351,6 +1351,7 @@ GHOST_TSuccess GHOST_WindowCocoa::endProgressBar() notification.informativeText = @"Calculation ended"; notification.soundName = NSUserNotificationDefaultSoundName; [[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification]; + [notification release]; } [dockIcon release]; |