Set pool_buffers busy when handing them out

This commit is contained in:
vilhalmer 2018-06-17 17:34:12 -04:00
parent d9fc381e02
commit 54a5ee2747
No known key found for this signature in database
GPG Key ID: 50CCC70C5AD25E4F
1 changed files with 1 additions and 0 deletions

View File

@ -144,5 +144,6 @@ struct pool_buffer *get_next_buffer(struct wl_shm *shm,
return NULL;
}
}
buffer->busy = true;
return buffer;
}