Re: [Utopia] gvm_device_is_writer



On Fri, 2004-05-21 at 10:29 +0200, Sjoerd Simons wrote:
> On Thu, May 20, 2004 at 08:47:39PM +0200, Frederic Peters wrote:
> > I fixed this with:
> >         drive_udi = hal_device_get_property_string(hal_ctx, udi,
> >                         "info.parent");
> > and calling gvm_device_is_writer(drive_udi);.
> > 
> > This a hal cvs checkout dated 20040515 (debian package) and uptodate
> > cvs gnome-volume-manager.
> > 
> > Trivial patch attached.  Hope it is useful.  Keep up the good work.
> 
> You forgot to free the drive_udi string after usage. Attached is a fixed 
> version of your patch, which I used in the debian packages for gvm.

Bleh, dumb bug.  Thanks for the fix -- applied.

	Robert Love





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]