Commit: 459c5d20459764b7473d844e691f14d835c9bd16
Author: Jens Verwiebe
Date: Wed Oct 22 20:17:04 2014 +0200
Branches: master
https://developer.blender.org/rB459c5d20459764b7473d844e691f14d835c9bd16
OSX: as we cannot be sure to have ARC, better release allocated notification
===================================================================
M intern/ghost/intern/GHOST_WindowCocoa.mm
===================================================================
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm
b/intern/ghost/intern/GHOST_WindowCocoa.mm
index f95a23f..44b3c5b 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];
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs