Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Verwiebe <info@jensverwiebe.de>2014-10-22 22:17:04 +0400
committerJens Verwiebe <info@jensverwiebe.de>2014-10-22 22:17:04 +0400
commit459c5d20459764b7473d844e691f14d835c9bd16 (patch)
treeba48375dc9d471ea0c5e3b73fc3ba872883c2c12
parentdfc0afb5b8b2cf432159bf801733f97d3dbdc495 (diff)
OSX: as we cannot be sure to have ARC, better release allocated notification
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm1
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];