Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729963
This commit is contained in:
parent
3313101e56
commit
36877e4e94
@ -141,6 +141,7 @@ void AppletBrowser::init()
|
||||
|
||||
AppletBrowser::~AppletBrowser()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
void AppletBrowser::addApplet()
|
||||
|
@ -66,6 +66,7 @@ Package::Package(const QString& packageRoot, const QString& package,
|
||||
|
||||
Package::~Package()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
bool Package::isValid() const
|
||||
|
@ -44,6 +44,7 @@ ScriptEngine::ScriptEngine(QObject *parent)
|
||||
|
||||
ScriptEngine::~ScriptEngine()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
void ScriptEngine::init(Applet* applet)
|
||||
|
@ -27,6 +27,7 @@ Label::Label(Widget *parent)
|
||||
|
||||
Label::~Label()
|
||||
{
|
||||
delete d;
|
||||
}
|
||||
|
||||
Qt::Orientations Label::expandingDirections() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user