No point checking this twice.
This commit is contained in:
parent
ba90c4afaf
commit
f8c31dd56a
|
@ -410,10 +410,10 @@ static void *gfx_ctx_x_init(void *data)
|
||||||
|
|
||||||
error:
|
error:
|
||||||
if (x)
|
if (x)
|
||||||
|
{
|
||||||
gfx_ctx_x_destroy_resources(x);
|
gfx_ctx_x_destroy_resources(x);
|
||||||
|
|
||||||
if (x)
|
|
||||||
free(x);
|
free(x);
|
||||||
|
}
|
||||||
g_x11_screen = 0;
|
g_x11_screen = 0;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue