- client: fix memory leak

svn path=/trunk/boinc/; revision=21464
This commit is contained in:
David Anderson 2010-05-11 20:41:01 +00:00
parent 5453185a1f
commit 7e9a8e5f98
2 changed files with 11 additions and 4 deletions

View File

@ -3487,5 +3487,12 @@ David 11 May 2010
David 11 May 2010
- client: delete messages on exit
client_msgs.cpp,h
check_state.cpp
client/
client_msgs.cpp,h
check_state.cpp
David 11 May 2010
- client: fix memory leak
lib/
coproc.h

View File

@ -156,11 +156,11 @@ struct COPROCS {
// so any structure that includes this needs to do it manually
COPROCS(){}
~COPROCS(){}
void delete_coprocs(){
~COPROCS(){
for (unsigned int i=0; i<coprocs.size(); i++) {
delete coprocs[i];
}
coprocs.clear();
}
void write_xml(MIOFILE& out);
void get(