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

New commits:
commit 2135b2b34fb5ad2627ed2b01e5ecb5ed1240f32a
Author: David Henningsson <david.hennings...@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.hennings...@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;

_______________________________________________
pulseaudio-commits mailing list
pulseaudio-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to