summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/move/src/move.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/move/src/move.cpp b/plugins/move/src/move.cpp
index c6761f3..6f6d639 100644
--- a/plugins/move/src/move.cpp
+++ b/plugins/move/src/move.cpp
@@ -697,6 +697,9 @@ MoveScreen::MoveScreen (CompScreen *screen) :
MoveScreen::~MoveScreen ()
{
+ if (region)
+ XDestroyRegion (region);
+
if (moveCursor)
XFreeCursor (screen->dpy (), moveCursor);
}