summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/object.c b/src/pulsecore/object.c
index 29cca0a3..a4bb14f1 100644
--- a/src/pulsecore/object.c
+++ b/src/pulsecore/object.c
@@ -62,8 +62,8 @@ void pa_object_unref(pa_object *o) {
if (PA_REFCNT_VALUE(o) == 1) {
pa_assert(o->free);
o->free(o);
- } else
pa_assert_se(PA_REFCNT_DEC(o) == 0);
+ }
}
int pa_object_check_type(const char *type_name) {