+2009-07-08 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message)
+ (Fdbus_register_signal, Fdbus_register_method): Cleanup memory of
+ error flag.
+
2009-07-08 Kenichi Handa <handa@m17n.org>
* fontset.c (fontset_find_font): Fix the logic of handling
if (connection == NULL)
XD_SIGNAL2 (build_string ("No connection"), bus);
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
/* Return the result. */
return connection;
}
}
/* Cleanup. */
+ dbus_error_free (&derror);
dbus_message_unref (dmessage);
dbus_message_unref (reply);
XD_DEBUG_MESSAGE ("Event stored: %s",
SDATA (format2 ("%s", event.arg, Qnil)));
+ /* Cleanup. */
cleanup:
dbus_message_unref (dmessage);
+
RETURN_UNGCPRO (Qnil);
}
XD_ERROR (derror);
}
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
XD_DEBUG_MESSAGE ("Matching rule \"%s\" created", rule);
}
if (NILP (Fmember (key1, value)))
Fputhash (key, Fcons (key1, value), Vdbus_registered_functions_table);
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
/* Return object. */
return list2 (key, list3 (service, path, handler));
}