mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
gst/gstelement.c: And free the GStaticRecMutex too
Original commit message from CVS: * gst/gstelement.c: (gst_element_finalize): And free the GStaticRecMutex too
This commit is contained in:
parent
8438d17281
commit
9e17ca91dd
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-10-10 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstelement.c: (gst_element_finalize):
|
||||
And free the GStaticRecMutex too
|
||||
|
||||
2005-10-10 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gstelement.c (gst_element_init, gst_element_finalize):
|
||||
|
|
|
@ -2215,6 +2215,8 @@ gst_element_finalize (GObject * object)
|
|||
element->state_cond = NULL;
|
||||
GST_STATE_UNLOCK (element);
|
||||
g_static_rec_mutex_free (element->state_lock);
|
||||
g_free (element->state_lock);
|
||||
element->state_lock = NULL;
|
||||
|
||||
GST_CAT_INFO_OBJECT (GST_CAT_REFCOUNTING, element, "finalize parent");
|
||||
|
||||
|
|
Loading…
Reference in a new issue