fix a leak in controller
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 20 Sep 2005 20:19:52 +0000 (20:19 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 20 Sep 2005 20:19:52 +0000 (20:19 +0000)
Original commit message from CVS:
fix a leak in controller

ChangeLog
libs/gst/controller/gstcontroller.c

index c1ad7aa5babb9149efefc041bb3363a2ea4425ef..dc2fa22a6ed3bc08e5142afb48d7bf4ad91ccf0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
+         fix a leak
+
 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst/elements/gstfilesink.c: (gst_file_sink_init):
index 800a06e8f8abda274eeb5cad8312e89423fa8a78..61046a67c233a4027859c0a6a7e3a5cee82ef763 100644 (file)
@@ -430,7 +430,6 @@ gst_controller_new_valist (GObject * object, va_list var_args)
         // if we don't have a controller object yet, now is the time to create one
         if (!self) {
           self = g_object_new (GST_TYPE_CONTROLLER, NULL);
-          self->lock = g_mutex_new ();
           self->object = object;
           // store the controller
           g_object_set_qdata (object, controller_key, self);