summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-04-29 04:13:07 +0200
committerLennart Poettering <lennart@poettering.net>2009-04-29 04:13:07 +0200
commit4cb6ea2d96d40aaebc2015957cef297315bcdec4 (patch)
tree11f19f2cde804a099734d2b4730c066eb896204d /src/pulsecore
parent0b2d96d6c0f586bb8436950080eda11daa170ba3 (diff)
simple-protocol: don't hit an assert when we call connection_unlink() early
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/protocol-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-simple.c b/src/pulsecore/protocol-simple.c
index 44fe5973..776d74b6 100644
--- a/src/pulsecore/protocol-simple.c
+++ b/src/pulsecore/protocol-simple.c
@@ -130,7 +130,7 @@ static void connection_unlink(connection *c) {
c->io = NULL;
}
- pa_assert_se(pa_idxset_remove_by_data(c->protocol->connections, c, NULL) == c);
+ pa_idxset_remove_by_data(c->protocol->connections, c, NULL);
c->protocol = NULL;
connection_unref(c);
}