summaryrefslogtreecommitdiffstats
path: root/src/tests/asyncmsgq-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/asyncmsgq-test.c')
-rw-r--r--src/tests/asyncmsgq-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/asyncmsgq-test.c b/src/tests/asyncmsgq-test.c
index baf93a0c..e7d662e1 100644
--- a/src/tests/asyncmsgq-test.c
+++ b/src/tests/asyncmsgq-test.c
@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) {
pa_thread_free(t);
- pa_asyncmsgq_free(q);
+ pa_asyncmsgq_unref(q);
return 0;
}