mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
(Vita) Check vita->texture before freeing it
This commit is contained in:
parent
56af52a268
commit
dbb91c85e6
@ -251,7 +251,8 @@ static void vita2d_gfx_free(void *data)
|
||||
if (vita->menu.frame)
|
||||
vita2d_free_texture(vita->menu.frame);
|
||||
|
||||
vita2d_free_texture(vita->texture);
|
||||
if (vita->texture)
|
||||
vita2d_free_texture(vita->texture);
|
||||
|
||||
vita2d_fini();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user