[patch] fix uninitialised GError

David Zeuthen david at fubar.dk
Wed Feb 2 14:12:02 PST 2005


On Wed, 2005-02-02 at 21:50 +0000, Richard Hughes wrote:
> On Wed, 02 Feb 2005 18:23:56 +0000, Richard Hughes wrote:
> 
> > Fix is trivial:
> > 
> > -       GError *error;
> > +       GError *error = NULL;
> > 

I fixed that. We also leaked the error object; also fixed.

> 
> Wow, I see big changes in the CVS! This fix is still valid tho.
> 

Yeah, I decided to the Reprobe() and Rescan() and this requires
big changes to how devices are handled. I'll follow up on the patches
from you and Sjoerd once I've tweaked them to fit in my tree

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list