[PATCH] Make sure dbus_error_init() is called before LIBHAL_FREE_DBUS_ERROR()

Martin Pitt martin.pitt at ubuntu.com
Wed Mar 3 15:38:09 PST 2010

Hello Peter,

Peter Jones [2010-02-24 11:19 -0500]:
> If dbus_error_init() is not called before LIBHAL_FREE_DBUS_ERROR() is
> called on that error, then it is uninitialized and may segfault.  This
> means that dbus_error_init() must be called before any "goto out" if
> "out:" calls LIBHAL_FREE_DBUS_ERROR().

Thanks! Pushed to trunk.

Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

More information about the hal mailing list