[patch 2/3] python support for bus name releasing

John (J5) Palmieri johnp at redhat.com
Tue Oct 4 08:43:16 PDT 2005


On Tue, 2005-10-04 at 12:18 +0100, Robert McQueen wrote:
> Attached is a patch to add a python binding for the previous bus name
> releasing code.

+ if dbus_error_is_set(&error):
+        raise DBusException, error.message

I actually just fixed a whole bunch of code like this.  This leaks, we
need to do this when dealing with errors:

error_msg = error.message
dbus_error_free(&error)
raise DBusException, error_msg

can you fix up the patch.  Thanks.

> Regards,
> Rob
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-- 



More information about the dbus mailing list