qgis/QGIS — pull request #1070 by vmora (2014-01-13 18:27:22+00:00)
Title: diable copy for qgsrendererv2 and derived

it was buggy (crash) an certainly not used (because of crash)

The bugs all have the same pattern:

class A
{
public:
A()
: mPtrToResource(new Resource)
{}
~A()
{
delete mPtrToResource;
}
private:
Resource * mPtrToResource;
};

If you happen to make a copy of A, intensionnally or otherwize (c++ is eager to make copies), you have a double delete on the resource.