fb_pool: Fix reference counting error

fb-api-v3
Andri Yngvason 2021-09-04 16:18:35 +00:00
parent f5b0f508f0
commit e16a64a67d
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ static struct nvnc_fb* nvnc_fb_pool__acquire_from_list(struct nvnc_fb_pool* self
TAILQ_REMOVE(&self->fbs, item, link);
free(item);
nvnc_fb_pool_ref(self);
return fb;
}