QueryCapability fix

David Zeuthen david at fubar.dk
Fri Jan 20 19:16:51 PST 2006


On Tue, 2006-01-17 at 21:08 +0100, Kevin Ottens wrote:
> Hello list,
> 
> Yesterday while unit testing my HAL wrapper I noticed that calling 
> QueryCapability make hald to quit. I looked at hald code and found the 
> issues, you'll find a patch attached that makes QueryCapability to work 
> correctly again.
> 
> Basically it wasn't able to retrieve the capability list (string vs string 
> list) and the requested capability was free'd when it shouldn't.

Applied, thanks. I think the reason this didn't work was that libhal
doesn't use it. Great to see other D-BUS clients than just libhal.

Cheers,
David




More information about the hal mailing list