Merge mysql.com:/home/stewart/Documents/MySQL/4.1/bug18833
into mysql.com:/home/stewart/Documents/MySQL/4.1/merge
This commit is contained in:
commit
4e092ed74f
@ -111,8 +111,12 @@ SimBlockList::unload(){
|
|||||||
if(theList != 0){
|
if(theList != 0){
|
||||||
for(int i = 0; i<noOfBlocks; i++){
|
for(int i = 0; i<noOfBlocks; i++){
|
||||||
if(theList[i] != 0){
|
if(theList[i] != 0){
|
||||||
|
#ifdef VM_TRACE
|
||||||
theList[i]->~SimulatedBlock();
|
theList[i]->~SimulatedBlock();
|
||||||
free(theList[i]);
|
free(theList[i]);
|
||||||
|
#else
|
||||||
|
delete(theList[i]);
|
||||||
|
#endif
|
||||||
theList[i] = 0;
|
theList[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user