Fixed memory leak

This commit is contained in:
Paolo Cignoni 2009-01-23 13:58:20 +00:00
parent 7c9aa1c99f
commit 8a53c7a836
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ Trackball::~Trackball()
std::set<TrackMode *>::iterator its;
for(its = goodModes.begin(); its != goodModes.end(); its++)
delete *its;
delete inactive_mode;
}