1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtinfo: Extra fixes for previous believed fixed things (coverity)

This commit is contained in:
Peter Howkins 2018-04-24 03:25:54 +01:00
parent a1fb026d86
commit 3b2d34b5a4
2 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ sorter::~sorter()
{
int i;
for ( i=0; i<NUM_BUCKETS; delete v_bucket_array[i++] );
delete v_bucket_array;
delete [] v_bucket_array;
for ( i=0; i<v_no_unique_keys; delete v_unique_keys[i++] );
delete [] v_unique_keys;

View file

@ -786,7 +786,7 @@ OutlineListView::update_list(OutlineList *list, BitHandle handle)
ItemCount (visible_count, args);
Set (args);
delete table;
delete [] table;
delete [] selected_list;
}
@ -1151,7 +1151,7 @@ OutlineListView::activate (WCallback *wcb)
table, sel_list,
oe->level() + 1);
AddItemsUnselected (table, subcount, lcs->item_position + 1);
delete table;
delete [] table;
delete [] sel_list;
// Turn the wait cursor off if it was on.