fb_pool: Fix reference counting error
parent
f5b0f508f0
commit
e16a64a67d
|
@ -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);
|
TAILQ_REMOVE(&self->fbs, item, link);
|
||||||
free(item);
|
free(item);
|
||||||
|
|
||||||
|
nvnc_fb_pool_ref(self);
|
||||||
|
|
||||||
return fb;
|
return fb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue