Fix mem leak

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729963
This commit is contained in:
Laurent Montel 2007-10-27 14:27:25 +00:00
parent 3313101e56
commit 36877e4e94
4 changed files with 4 additions and 0 deletions

View File

@ -141,6 +141,7 @@ void AppletBrowser::init()
AppletBrowser::~AppletBrowser()
{
delete d;
}
void AppletBrowser::addApplet()

View File

@ -66,6 +66,7 @@ Package::Package(const QString& packageRoot, const QString& package,
Package::~Package()
{
delete d;
}
bool Package::isValid() const

View File

@ -44,6 +44,7 @@ ScriptEngine::ScriptEngine(QObject *parent)
ScriptEngine::~ScriptEngine()
{
delete d;
}
void ScriptEngine::init(Applet* applet)

View File

@ -27,6 +27,7 @@ Label::Label(Widget *parent)
Label::~Label()
{
delete d;
}
Qt::Orientations Label::expandingDirections() const