projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003-03-25 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git]
/
bus
/
services.c
diff --git
a/bus/services.c
b/bus/services.c
index
821cb4a
..
d3ab1e5
100644
(file)
--- a/
bus/services.c
+++ b/
bus/services.c
@@
-128,6
+128,8
@@
bus_registry_ensure (BusRegistry *registry,
const char *c_name;
BusService *service;
const char *c_name;
BusService *service;
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
_dbus_assert (owner_if_created != NULL);
_dbus_assert (transaction != NULL);
_dbus_assert (owner_if_created != NULL);
_dbus_assert (transaction != NULL);
@@
-260,6
+262,8
@@
bus_service_add_owner (BusService *service,
BusTransaction *transaction,
DBusError *error)
{
BusTransaction *transaction,
DBusError *error)
{
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
/* Send service acquired message first, OOM will result
* in cancelling the transaction
*/
/* Send service acquired message first, OOM will result
* in cancelling the transaction
*/
@@
-292,6
+296,8
@@
bus_service_remove_owner (BusService *service,
BusTransaction *transaction,
DBusError *error)
{
BusTransaction *transaction,
DBusError *error)
{
+ _DBUS_ASSERT_ERROR_IS_CLEAR (error);
+
/* We send out notifications before we do any work we
* might have to undo if the notification-sending failed
*/
/* We send out notifications before we do any work we
* might have to undo if the notification-sending failed
*/