From 024e1175dc84a08c954cee3a3c27d108210b8256 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sat, 19 Apr 2014 18:27:14 +0200 Subject: [PATCH] Apple recommends the use of drain instead of calling release for NSAutoreleasePool objects --- src/support/linkback/LinkBackProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/linkback/LinkBackProxy.m b/src/support/linkback/LinkBackProxy.m index 1e77d94660..8112b313c0 100644 --- a/src/support/linkback/LinkBackProxy.m +++ b/src/support/linkback/LinkBackProxy.m @@ -236,7 +236,7 @@ void closeAllLinkBackLinks() [linkBackClient release]; linkBackClient = nil; - [pool release]; + [pool drain]; pool = nil; }