(apple_hid.c) Deallocate hid_apple properly in apple_hid_free

This commit is contained in:
Twinaphex 2015-03-31 15:15:54 +02:00
parent da428a70d3
commit 0807ac0165

View File

@ -350,4 +350,7 @@ static void apple_hid_free(void)
CFRelease(hid_apple->hid_ptr); CFRelease(hid_apple->hid_ptr);
hid_apple->hid_ptr = NULL; hid_apple->hid_ptr = NULL;
free(hid_apple);
hid_apple = NULL;
} }