I wonder if there are any other patterns we haven't seen yet?

Reviewed-by: Jamey Sharp <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
---
 hw/xfree86/fbdevhw/fbdevhw.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c
index d7b4d3c..2019741 100644
--- a/hw/xfree86/fbdevhw/fbdevhw.c
+++ b/hw/xfree86/fbdevhw/fbdevhw.c
@@ -98,8 +98,6 @@ fbdevHWFreeRec(ScrnInfoPtr pScrn)
 {
        if (fbdevHWPrivateIndex < 0)
                return;
-       if (FBDEVHWPTR(pScrn) == NULL)
-               return;
        free(FBDEVHWPTR(pScrn));
        FBDEVHWPTRLVAL(pScrn) = NULL;
 }
-- 
1.7.3.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to