summaryrefslogtreecommitdiffstats
path: root/src/polyp/subscribe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp/subscribe.c')
-rw-r--r--src/polyp/subscribe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/subscribe.c b/src/polyp/subscribe.c
index 110d4e52..21f5f7a5 100644
--- a/src/polyp/subscribe.c
+++ b/src/polyp/subscribe.c
@@ -75,7 +75,7 @@ pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_c
t = pa_tagstruct_command(c, PA_COMMAND_SUBSCRIBE, &tag);
pa_tagstruct_putu32(t, m);
pa_pstream_send_tagstruct(c->pstream, t);
- pa_pdispatch_register_reply(c->pdispatch, tag, DEFAULT_TIMEOUT, pa_context_simple_ack_callback, pa_operation_ref(o));
+ pa_pdispatch_register_reply(c->pdispatch, tag, DEFAULT_TIMEOUT, pa_context_simple_ack_callback, pa_operation_ref(o), (pa_free_cb_t) pa_operation_unref);
return o;
}