Fix mem leak

svn path=/trunk/KDE/kdelibs/; revision=948069
This commit is contained in:
Laurent Montel 2009-04-02 06:49:53 +00:00
parent 1f1600e406
commit 7e2bf0f2b7
2 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,11 @@ RunnerSyntax::RunnerSyntax(const RunnerSyntax &other)
{
}
RunnerSyntax::~RunnerSyntax()
{
delete d;
}
RunnerSyntax &RunnerSyntax::operator=(const RunnerSyntax &rhs)
{
*d = *rhs.d;

View File

@ -57,6 +57,8 @@ class PLASMA_EXPORT RunnerSyntax
*/
RunnerSyntax(const RunnerSyntax &other);
~RunnerSyntax();
/**
* Assignment operator
*/