diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-18 13:14:36 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-18 13:18:06 +0200 |
commit | b008101fd754b6b81c4f31e3079f01a21434601d (patch) | |
tree | 47a50a3eb9984d9ee8f14bbb86be801e62f6d424 /sd | |
parent | da3d37b968a79ff59fcc4103174b5b6bc3ec74c0 (diff) |
Plug autorelease leak
Change-Id: I0e1c04547b90279c49851d6a877917d6376b33ef
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 5 |
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 |