client/pool-buffer: munmap in destroy_buffer

This commit is contained in:
emersion 2018-05-25 19:42:23 +01:00
parent 8df2238956
commit 36d5d4b40f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 8 additions and 1 deletions

View file

@ -12,6 +12,8 @@ struct pool_buffer {
cairo_t *cairo;
PangoContext *pango;
uint32_t width, height;
void *data;
size_t size;
bool busy;
};