mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst-libs/gst/audio/gstaudiosrc.c: Don't leak GCond in audio sources.
Original commit message from CVS: * gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_dispose): Don't leak GCond in audio sources.
This commit is contained in:
parent
c65c75abe8
commit
b0c21cab17
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-01-10 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/gstaudiosrc.c: (gst_audioringbuffer_dispose):
|
||||
Don't leak GCond in audio sources.
|
||||
|
||||
2006-01-10 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* gst/playback/gstplaybin.c: (gen_audio_element):
|
||||
|
|
|
@ -231,6 +231,13 @@ gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
|
|||
static void
|
||||
gst_audioringbuffer_dispose (GObject * object)
|
||||
{
|
||||
GstAudioRingBuffer *ringbuffer = GST_AUDIORING_BUFFER (object);
|
||||
|
||||
if (ringbuffer->cond) {
|
||||
g_cond_free (ringbuffer->cond);
|
||||
ringbuffer->cond = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (ring_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue