summaryrefslogtreecommitdiffstats
path: root/sd/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-18 13:14:36 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-18 13:18:06 +0200
commitb008101fd754b6b81c4f31e3079f01a21434601d (patch)
tree47a50a3eb9984d9ee8f14bbb86be801e62f6d424 /sd/source
parentBe specific in the logging as multiple threads involved (diff)
downloadcore-b008101fd754b6b81c4f31e3079f01a21434601d.tar.gz
core-b008101fd754b6b81c4f31e3079f01a21434601d.zip
Plug autorelease leak
Change-Id: I0e1c04547b90279c49851d6a877917d6376b33ef
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index a35fe27d92df..b9736a20a746 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -597,6 +597,8 @@ void SAL_CALL BluetoothServer::run()
// Compare to BluetoothServiceRecord.hxx
+ NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
+
NSDictionary *dict =
[NSDictionary dictionaryWithObjectsAndKeys:
@@ -700,6 +702,9 @@ void SAL_CALL BluetoothServer::run()
[serviceRecord release];
}
+
+ [pool release];
+
(void) mpCommunicators;
#else
(void) mpCommunicators; // avoid warnings about unused member