Skip to content
Snippets Groups Projects
Commit ce3b595c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.rewriter: fixing memory leak

The destructor has to be virtual to avoid
a memory leak.

Reviewed-by: Roberto Raggi
parent c23721c8
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,7 @@ public:
virtual RemovePropertyRewriteAction *asRemovePropertyRewriteAction() { return 0; }
virtual ReparentNodeRewriteAction *asReparentNodeRewriteAction() { return 0; }
virtual MoveNodeRewriteAction *asMoveNodeRewriteAction() { return 0; }
virtual ~RewriteAction() {}
protected:
RewriteAction()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment