[pulseaudio-commits] src/pulsecore

David Henningsson diwic at kemper.freedesktop.org
Thu Mar 21 10:28:17 PDT 2013


 src/pulsecore/sink-input.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2135b2b34fb5ad2627ed2b01e5ecb5ed1240f32a
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Thu Mar 21 18:25:09 2013 +0100

    sink-input: Make sure the process_underrun callback is cleared
    
    Otherwise sink unlinking could cause a segfault.
    
    Reported-by: heftig
    Signed-off-by: David Henningsson <david.henningsson at canonical.com>

diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index cefa645..6131bd3 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -254,6 +254,7 @@ static void reset_callbacks(pa_sink_input *i) {
     pa_assert(i);
 
     i->pop = NULL;
+    i->process_underrun = NULL;
     i->process_rewind = NULL;
     i->update_max_rewind = NULL;
     i->update_max_request = NULL;



More information about the pulseaudio-commits mailing list