HomePhorge

Merged revisions 930782,930954 via svnmerge from svn+ssh://tmcguire@svn.kde.
9c57e0328d45Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

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

Merged Changes

This commit merges a very large number of changes. Only the first 50 are shown.