libpciaccess: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Feb 24 11:21:52 PST 2012


 src/common_device_name.c |    3 ++-
 src/solx_devfs.c         |    8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 167ffb1c4e431763e30c894131e704bb3599c7c1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Feb 8 22:14:08 2012 -0800

    solx_devfs.c: fix gcc warnings about casting away const when reading data
    
    solx_devfs.c: In function `pci_device_solx_devfs_write':
    solx_devfs.c:1085: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1089: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1093: warning: cast discards qualifiers from pointer target type
    solx_devfs.c:1097: warning: cast discards qualifiers from pointer target type
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 573b25ecd34dd69ee14c58f752bffdb5709654b9
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Wed Feb 8 22:08:08 2012 -0800

    Close pci.ids file when bailing out because realloc failed
    
    Error: File Leak
       Leaked File f
          at line 272 of src/common_device_name.c in function 'populate_vendor'.
            f initialized at line 204 with fopen("/usr/share/hwdata/pci.ids", "r").
    
    [ This bug was found by the Parfait 0.5.0 bug checking tool.
      For more information see http://labs.oracle.com/projects/parfait/ ]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list