Revert "[coverity] 1543170 Resource leak"
This reverts commit d24bb658ec
.
This commit is contained in:
parent
d3efbe004d
commit
1024a1a195
@ -388,8 +388,6 @@ int UwacWindowShmAllocBuffers(UwacWindow* w, int64_t nbuffers, int64_t allocSize
|
||||
|
||||
wl_shm_pool_destroy(pool);
|
||||
w->nbuffers += nbuffers;
|
||||
munmap(data, allocbuffersize);
|
||||
|
||||
error_mmap:
|
||||
close(fd);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user