Index: frmStatus.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/frmStatus.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -Lsrc/ui/frmStatus.cpp -Lsrc/ui/frmStatus.cpp -u -w -r1.25 -r1.26 --- src/ui/frmStatus.cpp +++ src/ui/frmStatus.cpp @@ -258,6 +258,10 @@ dataSet1->MoveNext(); } delete dataSet1; + + while (row < statusList->GetItemCount()) + statusList->DeleteItem(row); + statusList->Thaw(); } else @@ -354,6 +358,10 @@ } delete dataSet2; + + while (row < lockList->GetItemCount()) + lockList->DeleteItem(row); + lockList->Thaw(); } else