Fix a free that should have been a delete.

This commit is contained in:
Lioncash 2013-06-18 10:13:37 -04:00
parent 7df8a9cae8
commit d78f00971b
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
}
else
{
free(wm);
delete wm;
}
}