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-31 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git]
/
dbus
/
dbus-bus.c
diff --git
a/dbus/dbus-bus.c
b/dbus/dbus-bus.c
index
22af3da
..
d65a3f0
100644
(file)
--- a/
dbus/dbus-bus.c
+++ b/
dbus/dbus-bus.c
@@
-117,7
+117,11
@@
bus_data_free (void *data)
BusData *bd = data;
if (bd->connection)
- *bd->connection = NULL;
+ {
+ _DBUS_LOCK (bus);
+ *bd->connection = NULL;
+ _DBUS_UNLOCK (bus);
+ }
dbus_free (bd->base_service);
dbus_free (bd);