Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/TypeSubstitution.cpp

    rdafe9e1 r172d9342  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Jun  3 13:26:00 2017
    13 // Update Count     : 5
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Mar 16 15:54:35 2017
     13// Update Count     : 4
    1414//
    1515
     
    2626}
    2727
    28 TypeSubstitution::~TypeSubstitution() {}
     28TypeSubstitution::~TypeSubstitution() {
     29        for ( TypeEnvType::iterator i = typeEnv.begin(); i != typeEnv.end(); ++i ) {
     30                delete( i->second );
     31        }
     32        for ( VarEnvType::iterator i = varEnv.begin(); i != varEnv.end(); ++i ) {
     33                delete( i->second );
     34        }
     35}
    2936
    3037TypeSubstitution &TypeSubstitution::operator=( const TypeSubstitution &other ) {
Note: See TracChangeset for help on using the changeset viewer.