libX11: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Jul 8 09:19:40 PDT 2012


 src/CrBFData.c  |   47 ++++++++++++++++++++++++-----------------------
 src/CrPFBData.c |   54 ++++++++++++++++++++++++++++--------------------------
 2 files changed, 52 insertions(+), 49 deletions(-)

New commits:
commit 65358ea5079236b2508f787ac2fb2024a477e36d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 29 23:08:04 2012 -0700

    Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Jun 29 22:57:13 2012 -0700

    XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails
    
    Fixes leaks in error paths found by Parfait 1.0.0:
    
    Error: X Resource Leak
       Leaked X Resource pix
            at line 62 of CrBFData.c in function 'XCreateBitmapFromData'.
              pix initialized at line 60 with XCreatePixmap
    Error: X Resource Leak
       Leaked X Resource pix
            at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'.
              pix initialized at line 66 with XCreatePixmap
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Aaron Plattner <aplattner at nvidia.com>



More information about the xorg-commit mailing list