forked from enlightenment/efl
When we free the swap buffer, do Not munmap the buffer data.
Buffer data (in this instance) is from the swapper (ie: the creation of the swapper allocates & mmaps the data). As such, we should not unmap it when we free buffer(s), just when we free the swapper. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
672a2e36e3
commit
b8c6d19748
|
@ -421,7 +421,7 @@ _evas_swapper_buffer_free(Wl_Buffer *wb)
|
|||
wb->buffer = NULL;
|
||||
|
||||
/* unmap the buffer data */
|
||||
if (wb->data) munmap(wb->data, wb->size);
|
||||
/* if (wb->data) munmap(wb->data, wb->size); */
|
||||
wb->data = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue