(Apple) Take out ownership of apple_input driver

This commit is contained in:
Twinaphex 2014-10-06 03:35:56 +02:00
parent f47b3570bc
commit dbbfa700cb

View File

@ -374,9 +374,6 @@ static void *apple_input_init(void)
{
apple_input_data_t *apple = NULL;
if (driver.input_data)
return driver.input_data;
apple = (apple_input_data_t*)calloc(1, sizeof(*apple));
if (!apple)
return NULL;
@ -385,8 +382,6 @@ static void *apple_input_init(void)
apple->joypad = input_joypad_init_driver(g_settings.input.joypad_driver);
driver.input_data_own = true;
return apple;
}