Fixed memory leak.

This commit is contained in:
Vincent Richard 2005-06-03 11:16:26 +00:00
parent 8d20c8de3a
commit df46facf9f
3 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,11 @@
VERSION 0.7.1cvs
================
2005-06-03 Vincent Richard <vincent@vincent-richard.net>
* parameterizedHeaderField.{hpp|cpp}: fixed a memory leak in the
destructor (thanks to Rafael Fernandez).
2005-05-27 Vincent Richard <vincent@vincent-richard.net>
* messaging/*/*Message.{hpp|cpp}: added a 'peek' parameter to extract

View File

@ -32,6 +32,12 @@ parameterizedHeaderField::parameterizedHeaderField()
}
parameterizedHeaderField::~parameterizedHeaderField()
{
removeAllParameters();
}
/*
This class handles field contents of the following form:
Field: VALUE; PARAM1="VALUE1"; PARAM2="VALUE2"...

View File

@ -46,6 +46,8 @@ protected:
public:
~parameterizedHeaderField();
void copyFrom(const component& other);
parameterizedHeaderField& operator=(const parameterizedHeaderField& other);