From: Thomas Vander Stichele Date: Tue, 20 Sep 2005 20:19:52 +0000 (+0000) Subject: fix a leak in controller X-Git-Tag: RELEASE-0_9_3~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77d2059fbc7f3da253b889db97544eec82c27d27;p=platform%2Fupstream%2Fgstreamer.git fix a leak in controller Original commit message from CVS: fix a leak in controller --- diff --git a/ChangeLog b/ChangeLog index c1ad7aa5ba..dc2fa22a6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-20 Thomas Vander Stichele + + * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist): + fix a leak + 2005-09-20 Tim-Philipp Müller * gst/elements/gstfilesink.c: (gst_file_sink_init): diff --git a/libs/gst/controller/gstcontroller.c b/libs/gst/controller/gstcontroller.c index 800a06e8f8..61046a67c2 100644 --- a/libs/gst/controller/gstcontroller.c +++ b/libs/gst/controller/gstcontroller.c @@ -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);