]> git.0d.be Git - jack_mixer.git/commitdiff
Add missing initialization of midi callback in output channel binding
authorFrédéric Péters <fpeters@0d.be>
Thu, 29 Oct 2009 20:47:53 +0000 (21:47 +0100)
committerFrédéric Péters <fpeters@0d.be>
Thu, 29 Oct 2009 20:47:53 +0000 (21:47 +0100)
jack_mixer_c.c

index a8ad5b4bb8f008ad0f225377a09e0dca29cd568c..50c9f18f0dd62fac7111cb8837e8e6a78a5d6604 100644 (file)
@@ -639,6 +639,7 @@ OutputChannel_New(jack_mixer_output_channel_t output_channel)
        OutputChannelObject *self;
        self = (OutputChannelObject*)PyObject_NEW(OutputChannelObject, &OutputChannelType);
        if (self != NULL) {
+               self->midi_change_callback = NULL;
                self->output_channel = output_channel;
        }
        return (PyObject*)self;