Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=948069
This commit is contained in:
parent
1f1600e406
commit
7e2bf0f2b7
@ -48,6 +48,11 @@ RunnerSyntax::RunnerSyntax(const RunnerSyntax &other)
|
||||
{
|
||||
}
|
||||
|
||||
RunnerSyntax::~RunnerSyntax()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
RunnerSyntax &RunnerSyntax::operator=(const RunnerSyntax &rhs)
|
||||
{
|
||||
*d = *rhs.d;
|
||||
|
@ -57,6 +57,8 @@ class PLASMA_EXPORT RunnerSyntax
|
||||
*/
|
||||
RunnerSyntax(const RunnerSyntax &other);
|
||||
|
||||
~RunnerSyntax();
|
||||
|
||||
/**
|
||||
* Assignment operator
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user