Merge pull request #750 from lioncash/leak

Core: Fix a leak on OSX that could occur in IOdarwin.mm
This commit is contained in:
Pierre Bourdon 2014-08-07 09:56:36 -07:00
commit b38022df43
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ bool Wiimote::ConnectInternal()
{
ERROR_LOG(WIIMOTE, "Unable to open Bluetooth connection to wiimote %i: %x",
index + 1, ret);
[cbt release];
return false;
}