summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-04-21 16:07:38 -0700
committerKeith Packard <keithp@keithp.com>2010-04-21 16:07:38 -0700
commit7ac6a6b7d0dfc5e021270b2898accd3425aa008a (patch)
tree5afdeb8b639763c349f1c9194091e0939e87b4ac /exa/exa.c
parent0782894b5702adcf6f4a90861793b717f3856fa5 (diff)
parentf7ef6fd9a1a1f48603df2796fe7c904c25a81077 (diff)
Merge remote branch 'vignatti/for-keith'
Conflicts: exa/exa.c Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/exa/exa.c b/exa/exa.c
index dcfa4b380..da3797237 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -776,14 +776,12 @@ exaCloseScreen(int i, ScreenPtr pScreen)
unwrap(pExaScr, pScreen, ChangeWindowAttributes);
unwrap(pExaScr, pScreen, BitmapToRegion);
unwrap(pExaScr, pScreen, CreateScreenResources);
- if (ps) {
- unwrap(pExaScr, ps, Composite);
- if (pExaScr->SavedGlyphs)
- unwrap(pExaScr, ps, Glyphs);
- unwrap(pExaScr, ps, Trapezoids);
- unwrap(pExaScr, ps, Triangles);
- unwrap(pExaScr, ps, AddTraps);
- }
+ unwrap(pExaScr, ps, Composite);
+ if (pExaScr->SavedGlyphs)
+ unwrap(pExaScr, ps, Glyphs);
+ unwrap(pExaScr, ps, Trapezoids);
+ unwrap(pExaScr, ps, Triangles);
+ unwrap(pExaScr, ps, AddTraps);
xfree (pExaScr);