Changeset 14178b
- Timestamp:
- Oct 10, 2008, 1:36:06 PM (17 years ago)
- Children:
- 3b470f
- Parents:
- d01f4d
- File:
-
- 1 edited
-
molecuilder/src/moleculelist.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/moleculelist.cpp
rd01f4d r14178b 578 578 int AtomNo; 579 579 580 *out << Verbose(1) << "Begin of FillBondStructureFromReference." << endl; 580 581 // fill ListOfLocalAtoms if NULL was given 581 582 if (!FillListOfLocalAtoms(out, ListOfLocalAtoms, FragmentCounter, reference->AtomCount, FreeList)) { … … 606 607 if (next != NULL) 607 608 status = next->FillBondStructureFromReference(out, reference, FragmentCounter, ListOfLocalAtoms); 608 }609 610 FragmentCounter--;611 if ( FreeList) {609 FragmentCounter--; 610 } 611 612 if ((FreeList) && (ListOfLocalAtoms != NULL)) { 612 613 // free the index lookup list 613 614 Free((void **)&ListOfLocalAtoms[FragmentCounter], "MoleculeLeafClass::FillBondStructureFromReference - **ListOfLocalAtoms[]"); … … 616 617 } 617 618 FragmentCounter--; 619 *out << Verbose(1) << "End of FillBondStructureFromReference." << endl; 618 620 return status; 619 621 }; … … 706 708 int KeySetCounter = 0; 707 709 710 *out << Verbose(1) << "Begin of AssignKeySetsToFragment." << endl; 708 711 // fill ListOfLocalAtoms if NULL was given 709 712 if (!FillListOfLocalAtoms(out, ListOfLocalAtoms, FragmentCounter, reference->AtomCount, FreeList)) { … … 745 748 if (next != NULL) 746 749 next->AssignKeySetsToFragment(out, reference, KeySetList, ListOfLocalAtoms, FragmentList, FragmentCounter, FreeList); 750 FragmentCounter--; 747 751 } else 748 752 *out << Verbose(1) << "KeySetList is NULL or empty." << endl; 749 753 750 FragmentCounter--; 751 if (FreeList) { 754 if ((FreeList) && (ListOfLocalAtoms != NULL)) { 752 755 // free the index lookup list 753 756 Free((void **)&ListOfLocalAtoms[FragmentCounter], "MoleculeLeafClass::AssignKeySetsToFragment - **ListOfLocalAtoms[]"); … … 755 758 Free((void **)&ListOfLocalAtoms, "MoleculeLeafClass::AssignKeySetsToFragment - ***ListOfLocalAtoms"); 756 759 } 760 *out << Verbose(1) << "End of AssignKeySetsToFragment." << endl; 757 761 return status; 758 762 };
Note:
See TracChangeset
for help on using the changeset viewer.
