diff --git a/src/app/Dictionary.cpp b/src/app/Dictionary.cpp index 8af2cb8..88218e3 100644 --- a/src/app/Dictionary.cpp +++ b/src/app/Dictionary.cpp @@ -29,6 +29,8 @@ Dictionary::Dictionary(Dictionary const& dictionaryToCopy) //Copy constructor ne Dictionary::~Dictionary() { + if(_head == this) + dispose(); free(_parameter); //_parameter = NULL; Useless, just my c habits free(_value);