Fixed memory leak
This commit is contained in:
parent
7c9aa1c99f
commit
8a53c7a836
|
@ -142,6 +142,7 @@ Trackball::~Trackball()
|
|||
std::set<TrackMode *>::iterator its;
|
||||
for(its = goodModes.begin(); its != goodModes.end(); its++)
|
||||
delete *its;
|
||||
delete inactive_mode;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue