fix copyright in header and typo in debugging category name

Original commit message from CVS:
* 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
This commit is contained in:
Sebastien Cote 2004-06-06 19:44:19 +00:00 committed by Benjamin Otte
parent b5255eecec
commit 502660a784
5 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,11 @@
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:

View file

@ -316,6 +316,7 @@ gst_queue_dispose (GObject * object)
gst_event_unref (event);
}
g_queue_free (queue->events);
if (G_OBJECT_CLASS (parent_class)->dispose)
G_OBJECT_CLASS (parent_class)->dispose (object);
@ -892,6 +893,7 @@ gst_queue_change_state (GstElement * element)
break;
case GST_STATE_PAUSED_TO_READY:
gst_queue_locked_flush (queue);
gst_caps_replace (&queue->negotiated_caps, NULL);
break;
default:
break;

View file

@ -1,5 +1,5 @@
/* 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
@ -27,7 +27,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_adapter_debug);
#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);

View file

@ -1,5 +1,5 @@
/* 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

View file

@ -316,6 +316,7 @@ gst_queue_dispose (GObject * object)
gst_event_unref (event);
}
g_queue_free (queue->events);
if (G_OBJECT_CLASS (parent_class)->dispose)
G_OBJECT_CLASS (parent_class)->dispose (object);
@ -892,6 +893,7 @@ gst_queue_change_state (GstElement * element)
break;
case GST_STATE_PAUSED_TO_READY:
gst_queue_locked_flush (queue);
gst_caps_replace (&queue->negotiated_caps, NULL);
break;
default:
break;