mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(apple_hid.c) Deallocate hid_apple properly in apple_hid_free
This commit is contained in:
parent
da428a70d3
commit
0807ac0165
@ -350,4 +350,7 @@ static void apple_hid_free(void)
|
||||
CFRelease(hid_apple->hid_ptr);
|
||||
|
||||
hid_apple->hid_ptr = NULL;
|
||||
|
||||
free(hid_apple);
|
||||
hid_apple = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user