[Gtab-cvs] src/commands CommandStorage.cpp,1.13,1.14
Status: Alpha
Brought to you by:
m0ta
|
From: Seavan <se...@us...> - 2006-02-28 07:32:34
|
Update of /cvsroot/gtab/src/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13220/commands Modified Files: CommandStorage.cpp Log Message: * memory leaks workaround. still som of them, particularly when opening ptb files, and some MidiEvents are undeleted ( haven't figured why ) Index: CommandStorage.cpp =================================================================== RCS file: /cvsroot/gtab/src/commands/CommandStorage.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** CommandStorage.cpp 28 Feb 2006 07:15:24 -0000 1.13 --- CommandStorage.cpp 28 Feb 2006 07:32:31 -0000 1.14 *************** *** 91,94 **** --- 91,98 ---- CommandStorage::~CommandStorage() { + for(DocumentCommandI i = historyList_.begin(); i != historyList_.end(); ++i) + { + delete i->second; + } } |