diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-05 09:39:36 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-05 09:39:36 +0000 |
| commit | 15b12f45c69751014f7a96f089ba32a76f97d4a6 (patch) | |
| tree | 69db86171691ebf56bc9e4010a666a9161dbec90 /shm.c | |
| parent | server/client: harden reading of initialization data, and make async (diff) | |
scan-build: fix a couple of minor warnings from a scan-build run
Diffstat (limited to 'shm.c')
| -rw-r--r-- | shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ shm_get_buffer(struct wl_shm *shm, int width, int height, unsigned long cookie) /* We use the entire pool for our single buffer */ wl_shm_pool_destroy(pool); pool = NULL; - close(pool_fd); pool_fd = -1; + close(pool_fd); /* One pixman image for each worker thread (do we really need multiple?) */ pix = pixman_image_create_bits_no_clear( |
