Fix a free that should have been a delete.
This commit is contained in:
1 parent
7df8a9cae8
commit
d78f00971b
1 file changed
+1
-1
@@ -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