Ticket #108: double-frees.patch
File double-frees.patch, 889 bytes (added by , 18 years ago) |
---|
-
backends/flint/flint_table.cc
1523 1523 1524 1524 for (int j = level; j >= 0; j--) { 1525 1525 delete [] C[j].p; 1526 C[j].p = 0; 1526 1527 } 1527 1528 delete [] split_p; 1529 split_p = 0; 1528 1530 1529 1531 delete [] kt.get_address(); 1532 kt = 0; 1530 1533 delete [] buffer; 1534 buffer = 0; 1531 1535 } 1532 1536 1533 1537 void -
backends/quartz/btree.cc
1555 1555 1556 1556 for (int j = level; j >= 0; j--) { 1557 1557 delete [] C[j].p; 1558 C[j].p = 0; 1558 1559 } 1559 1560 delete [] split_p; 1561 split_p = 0; 1560 1562 1561 1563 delete [] kt.get_address(); 1564 kt = 0; 1562 1565 delete [] buffer; 1566 buffer = 0; 1563 1567 } 1564 1568 1565 1569 void