projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b0ba0
)
intel-virtual-output: Remove one redundant cleanup on error
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 06:44:25 +0000
(07:44 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 06:44:25 +0000
(07:44 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tools/virtual.c
patch
|
blob
|
history
diff --git
a/tools/virtual.c
b/tools/virtual.c
index
5bc050b
..
9ed1d03
100644
(file)
--- a/
tools/virtual.c
+++ b/
tools/virtual.c
@@
-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));