Merge pull request #750 from lioncash/leak
Core: Fix a leak on OSX that could occur in IOdarwin.mm
This commit is contained in:
commit
b38022df43
|
@ -221,6 +221,7 @@ bool Wiimote::ConnectInternal()
|
||||||
{
|
{
|
||||||
ERROR_LOG(WIIMOTE, "Unable to open Bluetooth connection to wiimote %i: %x",
|
ERROR_LOG(WIIMOTE, "Unable to open Bluetooth connection to wiimote %i: %x",
|
||||||
index + 1, ret);
|
index + 1, ret);
|
||||||
|
[cbt release];
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue