path: root/src/pulsecore/x11prop.c
diff options
authorTanu Kaskinen <>2011-04-29 13:58:42 +0300
committerColin Guthrie <>2011-04-29 12:38:28 +0100
commit7055694023a9feffb5591d51f823794216b3d2b2 (patch)
treedce412615f77bc74c2aff67699a3207ee57121e4 /src/pulsecore/x11prop.c
parent2ee398fd94fd9bbfaff61d0743c945f0a3411fa8 (diff)
dbus: Fix connection idxset freeing when unloading the module.
If u->connections isn't empty when module-dbus-protocol is unloaded, then connection_free() is called for the remaining connections when the idxset is freed. connection_free() tries to remove the connection from the idxset, but that fails, because the item has already been removed from the idxset in this scenario. The problem is solved by not trying to remove the connection from the idxset in connection_free(). Instead, whoever wants to delete connections, has to remove the connection from the idxset in addition to calling connection_free().
Diffstat (limited to 'src/pulsecore/x11prop.c')
0 files changed, 0 insertions, 0 deletions