diff options
author | emersion <contact@emersion.fr> | 2018-05-25 19:42:23 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-27 14:09:48 +0100 |
commit | 36d5d4b40f5caf0b7bcccbcc3bfeec3afb23946b (patch) | |
tree | b0319dfd3cc0a4b221ddac5670f40b4476988b3b /include/pool-buffer.h | |
parent | client/pool-buffer: set CLOEXEC on buffer FD, just in case (diff) | |
download | sway-36d5d4b40f5caf0b7bcccbcc3bfeec3afb23946b.tar.gz sway-36d5d4b40f5caf0b7bcccbcc3bfeec3afb23946b.tar.zst sway-36d5d4b40f5caf0b7bcccbcc3bfeec3afb23946b.zip |
client/pool-buffer: munmap in destroy_buffer
Diffstat (limited to 'include/pool-buffer.h')
-rw-r--r-- | include/pool-buffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pool-buffer.h b/include/pool-buffer.h index 856f7c8c..54f5be06 100644 --- a/include/pool-buffer.h +++ b/include/pool-buffer.h | |||
@@ -12,6 +12,8 @@ struct pool_buffer { | |||
12 | cairo_t *cairo; | 12 | cairo_t *cairo; |
13 | PangoContext *pango; | 13 | PangoContext *pango; |
14 | uint32_t width, height; | 14 | uint32_t width, height; |
15 | void *data; | ||
16 | size_t size; | ||
15 | bool busy; | 17 | bool busy; |
16 | }; | 18 | }; |
17 | 19 | ||