summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-11-08 13:22:51 +0100
committerDanny Baumann <dannybaumann@web.de>2008-11-08 13:22:51 +0100
commit9f4cfaef42c090d9f4e229e0c372aa72f3fa8f88 (patch)
tree5560b5aaeaff963c14acb2bb27aa6e0f0d89c264 /src
parent809e7eca6b10a5179c66ec1fc4786c69f865b2c5 (diff)
Plug small memory leak.
Diffstat (limited to 'src')
-rw-r--r--src/screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index b9d7e437..5a463b27 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1575,6 +1575,9 @@ freeScreen (CompScreen *s)
if (s->grabs)
free (s->grabs);
+ if (s->exposeRects)
+ free (s->exposeRects);
+
/* XXX: Maybe we should free all fragment functions here? But
the definition of CompFunction is private to fragment.c ... */
for (i = 0; i < 2; i++)