libXxf86vm: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Mon Apr 15 14:43:13 PDT 2013


 src/XF86VMode.c |  118 +++++++++++++++++++++++++++-----------------------------
 1 file changed, 58 insertions(+), 60 deletions(-)

New commits:
commit d0355b28dd53fba6fb29c350e090ed4a73d4c480
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 13 17:58:28 2013 -0700

    Unlock display before returning alloc error in XF86VidModeGetDotClocks()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 6c82906f25abcb0f8ec92bcdaf1872bd8b63ca5d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 13 17:54:45 2013 -0700

    Unlock display before returning alloc error in XF86VidModeGetAllModeLines()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

commit 8ed00bd0a7c44c7fece687e2566d920ea74ef809
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 13 17:52:12 2013 -0700

    Unlock display before returning alloc error in XF86VidModeGetModeLine()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

commit a89b1ad3377bfef9bab52f15f98b00f6540d531a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 13 17:40:24 2013 -0700

    Improve error handling in XF86VidModeGetMonitor()
    
    Ensure that when we return an error we unlock the display first, and
    NULL out any pointers we freed in error cleanup.
    
    Instead of adding these fixes to every error check, instead combine
    the error handling cleanup into a single copy.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

commit ef95f1c3737d9efc7d97fb1784f80ef3540a846b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Apr 13 15:13:06 2013 -0700

    When Xcalloc() returns NULL, you don't need to Xfree() it
    
    I have no words to explain how this ever happened.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list