summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wlshm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wlshm.c b/src/wlshm.c
index 91c8099..216b03a 100644
--- a/src/wlshm.c
+++ b/src/wlshm.c
@@ -225,6 +225,7 @@ wlshm_free_window_pixmap(WindowPtr pWindow)
pixmap->devPrivate.fptr = d->orig;
memcpy(d->orig, d->data, d->bytes);
munmap(d->data, d->bytes);
+ close(d->fd);
free(d);
}