diff --git a/ChangeLog b/ChangeLog index 8d72c7058c..17663e02fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-01-03 Thomas Canty + + reviewed by: Ronald Bultje + + * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose): + Correct logic of dispose function (see #129306). + 2004-01-03 Ronald Bultje * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes): diff --git a/ext/alsa/gstalsamixer.c b/ext/alsa/gstalsamixer.c index 2a83aa3bd6..a9d71bf03b 100644 --- a/ext/alsa/gstalsamixer.c +++ b/ext/alsa/gstalsamixer.c @@ -171,7 +171,7 @@ gst_alsa_mixer_dispose (GObject * object) { GstAlsaMixer *mixer = GST_ALSA_MIXER (object); - if (((gint) mixer->mixer_handle) != -1) return; + if (((gint) mixer->mixer_handle) == -1) return; snd_mixer_close (mixer->mixer_handle); mixer->mixer_handle = (snd_mixer_t *) -1;