summaryrefslogtreecommitdiff
path: root/hw/xfree86/xaa/xaaGC.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/xaa/xaaGC.c')
-rw-r--r--hw/xfree86/xaa/xaaGC.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/xaa/xaaGC.c b/hw/xfree86/xaa/xaaGC.c
index 8c9d0ede7..fbef88d77 100644
--- a/hw/xfree86/xaa/xaaGC.c
+++ b/hw/xfree86/xaa/xaaGC.c
@@ -243,8 +243,7 @@ XAADestroyGC(GCPtr pGC)
if(pGCPriv->XAAOps != &XAAFallbackOps)
free(pGCPriv->XAAOps);
- if(pGCPriv->DashPattern)
- free(pGCPriv->DashPattern);
+ free(pGCPriv->DashPattern);
(*pGC->funcs->DestroyGC)(pGC);
XAA_GC_FUNC_EPILOGUE (pGC);