Home GnuPG

Merged revisions 930782,930954 via svnmerge from

Description

(no title)

Merged revisions 930782,930954 via svnmerge from
svn+ssh://tmcguire@svn.kde.org/home/kde/branches/KDE/4.2/kdepimlibs

........

r930782 | osterfeld | 2009-02-24 09:44:56 +0100 (Tue, 24 Feb 2009) | 9 lines

backport 924447 and subsequent build fixes:

fix a memleak caused by a shared_ptr cycle: Resource holds a Model copy, which has a shared_ptr<ModelPrivate>, which in turn has a shared_ptr to the 
resources.
That way RDF models never got destructed. Break the cycle by holding weak_ptr's to ModelPrivate in Resource and Statement. That would break cases 
where only a ResourcePtr is kept and no Model copy, thus keep a Model copy in ResourceWrapper so that the model is not destroyed until the last 
Resource/ResourceWrapper refering to that model goes out of scope.

........

r930954 | osterfeld | 2009-02-24 15:49:36 +0100 (Tue, 24 Feb 2009) | 2 lines

svn add model_p.h...

........

svn path=/branches/kdepim/enterprise4/kdepimlibs/; revision=931571

Event Timeline

Thomas McGuire <mcguire@kde.org> committed rGPGMEPP6a4c83e54d5e: Merged revisions 930782,930954 via svnmerge from (authored by Thomas McGuire <mcguire@kde.org>).Feb 25 2009, 2:52 PM

Empty Commit

This commit is empty and does not affect any paths.