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