Message ID | 20121217161016.1552.69161.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'src/scene-shadow.cpp' --- src/scene-shadow.cpp 2012-10-22 21:43:11 +0000 +++ src/scene-shadow.cpp 2012-12-17 16:08:05 +0000 @@ -463,11 +463,6 @@ "false,true"); } -SceneShadow::~SceneShadow() -{ - delete priv_; -} - bool SceneShadow::supported(bool show_errors) { @@ -526,6 +521,7 @@ { // Add scene-specific teardown here priv_->teardown(); + delete priv_; Scene::teardown(); } === modified file 'src/scene.h' --- src/scene.h 2012-12-15 09:46:12 +0000 +++ src/scene.h 2012-12-17 16:08:05 +0000 @@ -563,7 +563,6 @@ ShadowPrivate* priv_; public: SceneShadow(Canvas& canvas); - ~SceneShadow(); bool supported(bool show_errors); bool load(); void unload();