mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Revert "[coverity] 1543170 Resource leak"
This reverts commit d24bb658ec.
This commit is contained in:
@@ -388,8 +388,6 @@ int UwacWindowShmAllocBuffers(UwacWindow* w, int64_t nbuffers, int64_t allocSize
|
|||||||
|
|
||||||
wl_shm_pool_destroy(pool);
|
wl_shm_pool_destroy(pool);
|
||||||
w->nbuffers += nbuffers;
|
w->nbuffers += nbuffers;
|
||||||
munmap(data, allocbuffersize);
|
|
||||||
|
|
||||||
error_mmap:
|
error_mmap:
|
||||||
close(fd);
|
close(fd);
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user