Fix a free that should have been a delete.
This commit is contained in:
@@ -232,7 +232,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
|
||||
}
|
||||
else
|
||||
{
|
||||
free(wm);
|
||||
delete wm;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user