menu driver: Fix memory leak occurring on exit

This commit is contained in:
Sebastien Ronsse 2016-05-23 10:20:31 +10:00
parent 06aa001b82
commit d9884b486a

View File

@ -529,8 +529,6 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
menu_driver_data_own = true;
break;
case RARCH_MENU_CTL_UNSET_OWN_DRIVER:
if (!content_is_inited())
return false;
menu_driver_data_own = false;
break;
case RARCH_MENU_CTL_SET_TEXTURE: