forked from enlightenment/efl
ecore: munmap() call get size of the same type as nmap() call in "len" argument
Reviewers: stanluk, lukasz.stanislawski, jpeg Reviewed By: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5553
This commit is contained in:
parent
10103b9b45
commit
c41480e46c
|
@ -934,7 +934,7 @@ _ecore_fps_debug_shutdown(void)
|
|||
unlink(buf);
|
||||
if (_ecore_fps_runtime_mmap)
|
||||
{
|
||||
munmap(_ecore_fps_runtime_mmap, sizeof(int));
|
||||
munmap(_ecore_fps_runtime_mmap, sizeof(unsigned int));
|
||||
_ecore_fps_runtime_mmap = NULL;
|
||||
}
|
||||
close(_ecore_fps_debug_fd);
|
||||
|
|
Loading…
Reference in New Issue