mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
intel-virtual-output: Remove one redundant cleanup on error
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -3260,10 +3260,8 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
ret = display_init_damage(ctx.display);
|
||||
if (ret) {
|
||||
context_cleanup(&ctx);
|
||||
if (ret)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if ((ctx.display->rr_event | ctx.display->rr_error) == 0) {
|
||||
fprintf(stderr, "RandR extension not supported by %s\n", DisplayString(ctx.display->dpy));
|
||||
|
||||
Reference in New Issue
Block a user