fixed leak

This commit is contained in:
kanjitalk755 2020-08-12 20:49:14 +09:00
parent 1f2b35fef2
commit 630f4ffafb
1 changed files with 3 additions and 1 deletions

View File

@ -236,7 +236,9 @@ static void *vm_acquire_framebuffer(uint32 size)
static inline void vm_release_framebuffer(void *fb, uint32 size)
{
// vm_release(fb, size);
#ifndef HAVE_MACH_VM
vm_release(fb, size);
#endif
}
static inline int get_customized_color_depth(int default_depth)