]> code.delx.au - pulseaudio/commitdiff
cork-music-on-phone: make sure that we don't check the refcnt of pa_core when the...
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Apr 2009 03:12:11 +0000 (05:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Apr 2009 03:12:11 +0000 (05:12 +0200)
src/modules/module-cork-music-on-phone.c

index c0f5eea46b7c41daf0c7286ed2c76b1ceb8a24b9..d3a2b00e4c63f3f5ebfc051ffe6d10dd31b3b9a9 100644 (file)
@@ -143,7 +143,6 @@ static pa_hook_result_t sink_input_put_cb(pa_core *core, pa_sink_input *i, struc
 }
 
 static pa_hook_result_t sink_input_unlink_cb(pa_core *core, pa_sink_input *i, struct userdata *u) {
-    pa_core_assert_ref(core);
     pa_sink_input_assert_ref(i);
 
     return process(u, i, FALSE);