+2004-06-06 Benjamin Otte <otte@gnome.org>
+
+ * gst/gstqueue.c: (gst_queue_dispose), (gst_queue_change_state):
+ fix memory leaks (fixes #142795). Initial patch by Sebastien Cote
+ * libs/gst/bytestream/adapter.c:
+ * libs/gst/bytestream/adapter.h:
+ fix copyright in header and typo in debugging category name
+
2004-06-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
* configure.ac:
gst_event_unref (event);
}
+ g_queue_free (queue->events);
if (G_OBJECT_CLASS (parent_class)->dispose)
G_OBJECT_CLASS (parent_class)->dispose (object);
break;
case GST_STATE_PAUSED_TO_READY:
gst_queue_locked_flush (queue);
+ gst_caps_replace (&queue->negotiated_caps, NULL);
break;
default:
break;
/* GStreamer
- * Copyright (C) 2001 Erik Walthinsen <omega@temple-baptist.com>
+ * Copyright (C) 2004 Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#define GST_CAT_DEFAULT gst_adapter_debug
#define _do_init(thing) \
- GST_DEBUG_CATEGORY_INIT (gst_adapter_debug, "GstAdapter", 0, "object to splice and merge buffers to dewsired size")
+ GST_DEBUG_CATEGORY_INIT (gst_adapter_debug, "GstAdapter", 0, "object to splice and merge buffers to desired size")
GST_BOILERPLATE_FULL (GstAdapter, gst_adapter, GObject, G_TYPE_OBJECT, _do_init)
static void gst_adapter_dispose (GObject * object);
/* GStreamer
- * Copyright (C) 2001 Erik Walthinsen <omega@temple-baptist.com>
+ * Copyright (C) 2004 Benjamin Otte <otte@gnome.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
gst_event_unref (event);
}
+ g_queue_free (queue->events);
if (G_OBJECT_CLASS (parent_class)->dispose)
G_OBJECT_CLASS (parent_class)->dispose (object);
break;
case GST_STATE_PAUSED_TO_READY:
gst_queue_locked_flush (queue);
+ gst_caps_replace (&queue->negotiated_caps, NULL);
break;
default:
break;