mirror of https://github.com/BOINC/boinc.git
- client: fix memory leak
svn path=/trunk/boinc/; revision=21464
This commit is contained in:
parent
5453185a1f
commit
7e9a8e5f98
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue