Fix buffer reenqueing

This commit is contained in:
Kamil Trzcinski
2022-04-07 19:09:35 +02:00
parent eca9c43af7
commit a3f5c002bb
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ error:
{
buffer_t *mmap_source = buf->mmap_source;
buf->mmap_source = NULL;
buf->mmap_reflinks--;
buf->mmap_reflinks++;
pthread_mutex_unlock(&buffer_lock);
if (mmap_source) {