Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878992
This commit is contained in:
parent
aaf39fc289
commit
0af4b7d132
@ -50,6 +50,11 @@ ToolTipContent::ToolTipContent(const ToolTipContent &other)
|
||||
{
|
||||
}
|
||||
|
||||
ToolTipContent::~ToolTipContent()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
ToolTipContent &ToolTipContent::operator=(const ToolTipContent &other)
|
||||
{
|
||||
*d = *other.d;
|
||||
|
@ -41,6 +41,8 @@ public:
|
||||
/** Creates an empty Content */
|
||||
ToolTipContent();
|
||||
|
||||
~ToolTipContent();
|
||||
|
||||
/** Copy constructor */
|
||||
ToolTipContent(const ToolTipContent &other);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user