memory leak--

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
This commit is contained in:
Alex Merry 2008-08-23 17:42:36 +00:00
parent ffd9d8f796
commit 9293cbaba6
2 changed files with 6 additions and 0 deletions

View File

@ -447,6 +447,11 @@ DataEnginePrivate::DataEnginePrivate(DataEngine* e, KService::Ptr service)
}
}
DataEnginePrivate::~DataEnginePrivate()
{
delete package;
}
void DataEnginePrivate::internalUpdateSource(DataContainer* source)
{
if (minPollingInterval > 0 &&

View File

@ -32,6 +32,7 @@ class DataEnginePrivate
{
public:
DataEnginePrivate(DataEngine* e, KService::Ptr service);
~DataEnginePrivate();
DataContainer* source(const QString& sourceName, bool createWhenMissing = true);
void connectSource(DataContainer* s, QObject* visualization, uint pollingInterval,
Plasma::IntervalAlignment align, bool immediateCall = true);