mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
fixed leak
This commit is contained in:
parent
1f2b35fef2
commit
630f4ffafb
@ -236,7 +236,9 @@ static void *vm_acquire_framebuffer(uint32 size)
|
|||||||
|
|
||||||
static inline void vm_release_framebuffer(void *fb, 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)
|
static inline int get_customized_color_depth(int default_depth)
|
||||||
|
Loading…
Reference in New Issue
Block a user