Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhy20120210:failed_1
cups-autoconfig
cups-autoconfig-free-make.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cups-autoconfig-free-make.diff of Package cups-autoconfig
--- src/cups-autoconfig.c.orig 2009-09-25 14:37:16.000000000 +0200 +++ src/cups-autoconfig.c 2009-09-25 14:38:17.000000000 +0200 @@ -514,8 +514,10 @@ /* check our vendor mappings */ um = g_ascii_strup (make, -1); mm = g_hash_table_lookup (vendor_map, um); - if (mm) + if (mm){ + libhal_free_string (make); make = mm; + } /* check the model */ mdl = model_from_string (make, pi->make_and_model); @@ -533,7 +535,8 @@ done: g_free (mdl); - libhal_free_string (make); + if(!mm) + libhal_free_string (make); libhal_free_string (model); libhal_free_string (serial); return ret;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor