[Openchrome-devel] xf86-video-openchrome: 2 commits - configure.ac src/via_driver.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Jun 14 09:25:54 UTC 2016


 configure.ac     |    2 +-
 src/via_driver.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 773292fd4f8bee0962d9b2eb219329267e240ade
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Jun 14 04:24:56 2016 -0500

    Version bumped to 0.4.186
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index e97ff27..c41f0c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.4.185],
+        [0.4.186],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit b858f8e1c045b97d1f17cda3386ce83f0d3d9654
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Jun 14 04:15:20 2016 -0500

    Do not reference allocated private memory within VIAFreeScreen
    
    By the time VIAFreeScreen callback function is executed, allocated
    private memory is long released, so the code should not be
    referencing it.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_driver.c b/src/via_driver.c
index 3081ec1..653814d 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -432,12 +432,12 @@ static void
 VIAFreeScreen(FREE_SCREEN_ARGS_DECL)
 {
     SCRN_INFO_PTR(arg);
-    VIAPtr pVia = VIAPTR(pScrn);
 
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "VIAFreeScreen\n"));
 
-    if (!pVia->KMS && xf86LoaderCheckSymbol("vgaHWFreeHWRec"))
+    if (xf86LoaderCheckSymbol("vgaHWFreeHWRec")) {
         vgaHWFreeHWRec(pScrn);
+    }
 }
 
 static void


More information about the Openchrome-devel mailing list