Kaydet (Commit) b008101f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Plug autorelease leak

Change-Id: I0e1c04547b90279c49851d6a877917d6376b33ef
üst da3d37b9
...@@ -597,6 +597,8 @@ void SAL_CALL BluetoothServer::run() ...@@ -597,6 +597,8 @@ void SAL_CALL BluetoothServer::run()
// Compare to BluetoothServiceRecord.hxx // Compare to BluetoothServiceRecord.hxx
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
NSDictionary *dict = NSDictionary *dict =
[NSDictionary dictionaryWithObjectsAndKeys: [NSDictionary dictionaryWithObjectsAndKeys:
...@@ -700,6 +702,9 @@ void SAL_CALL BluetoothServer::run() ...@@ -700,6 +702,9 @@ void SAL_CALL BluetoothServer::run()
[serviceRecord release]; [serviceRecord release];
} }
[pool release];
(void) mpCommunicators; (void) mpCommunicators;
#else #else
(void) mpCommunicators; // avoid warnings about unused member (void) mpCommunicators; // avoid warnings about unused member
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment